How can I update scene or update splineshape


#1

I got a Spline shape from the scene, and then I added Knot. But I can’t update shape.


ISpline3D sp = mySpline.Shape.GetSpline(0);
sp.ComputeBezPoints();
mySpline.Shape.InvalidateGeomCache();

core.ForceCompleteRedraw(true);

I wrote it in c#. I’ve used everything I need, and it still doesn’t work. The only thing I didn’t do was try to update the node, because I’m a newbie.