I'm afraid you need to implement this yourself. A quick search given only the standard spline fit function but none on the modeler level.
Ok I have a library that can create a spline curve from a set of points. The result from this curve is
- Knots: Array of double
- ControlPoints : Array of Point4(X,Y,Z,W)
- Degree: double
How to translate this to the
I just discovered that the library I'm using is .Net 4.5 only. When will solidworks release support for .Net 4.5 and above?
The solution that seems to work well is to create first a list of trimmed lines for each line segment.
ICurve  lines = ...
Then merge these lines into a single curve and simplify with a tolerance
var curve = modeler.MergeCurves(lines).SimpifyBCurve(ChordTolerance);
Great finding! Thank you for sharing the solution.