I'm using the SolidWorks API to create bspline curves in SolidWorks, and 99% of the time, the curves get created as expected.
However, there are some curves that I simply cannot create properly, and I really don't know what could be wrong to explain why those curves don't get created.
I inspected the data (control points, knots, etc. ) and I cannot see anything obvious that would explain the situation... And it is rather difficult to get any error details pertaining to the curve creation out of the API...
FYI, I've attached a sample VBA macro that illustrates the problem I'm having.