Notifications
Clear all

[Closed] Splines unstable?

Hey, is it just me or is splines really unstable to work with through maxscript in max? It seems that they go unstable and crash max for random reasons, like the node goes currupt or something. Has anybody got any tips? I’m using a mouse tool to draw splines btw.

thanks,
CML

4 Replies

if you are using script to create the spline then you MUST use updateshape function before you try to using any UI tools on the shape or you will get a near definite crash – maybe you already knew this

mark

Thanks marktsang, yeah I know about that and I try to do it whenever I change the spline. It’s working better now though because of some cleanup. I know that there will be an error if you call that function on a spline with less than 2 knots. I wonder if there are other situations like that that can occur that causes the spline to be unstable…

CML

Splines are the most stable thing I’ve ever scene in Max. It is most likely your script.

Chris J.

Well I finally today figured out what was causing the crashes. I had delete theSpline happening in an undo off context, wich was apparently not a good idea.