attaching multiple splines
Hi,
I can't seem to find clearly how this should work. I like to select a bunch of splines and then executing a script to attach all of them into a single spline, from there to move that spline to z=0.
I've been searching and reading at the help menu at "attach()" but i still find it hard to bring it together yet.
Some help is appreciated :)
Comments
.
The code will move the spline to z=0 not all of its knots.
Tools and Scripts for Autodesk 3dsMax
*
Thank you, that works great.
UtilitiesEx.attachAll
try this:
UtilitiesEx.attachAll (selection as array)
for k in selection do (k.pos = [k.pos.x,k.pos.y,0] ; k.pivot = ((k.max + k.min)/2))