CreateBSpline

Can anyone successfully get this to work? I got theproperties, knot vector and control points from an edge andseparated them for the parameters but when I Call this I do not getany spline created.

(not sure how I'm suppose to use the "modeler" though but I simplyuse GetModeler and called the function while a part was open)
SolidworksApi macros