Notifications
Clear all

[Closed] attaching splines

i’ve seached the reference for a way to attach 1 spline to another via mxs but I just can’t find an answer… I’ve found ‘splineOps.startAttach’ and ‘splineOps.attachMulitple’ but neither of these seem to actually do anything other than activate the buttons in the UI.

I’m hoping that somehow I’ve missed the answer in the reference and someone can please shed some light for me.

3 Replies

I would sort your splines out neatly and then use the

addAndWeld <to_shape> <from_shape> <weldthreshold_float>

command, which comes with a nifty welding threshold to weld knots within a certain distance threshold… I think, I aint got max on this machine

Hope this helps

Rich

Go here

http://www.neilblevins.com/soulburnscripts/soulburnscripts.htm

And check out the code in my attachSelectedObjects script, it has all the code you’ll need.

  • Neil

cool thanks guys thats just what i needed