PDA

View Full Version : Attach Specific Splines


tarcus
01-20-2009, 03:43 PM
Hi Guys,

I donīt know if its pretty simple or impossible, the Documentation had no solution for my effort :)

I have Spline $1 and Spline $2 in my Scene and I want to attach one spline to another, depending on their names. I saw there is SplineOps.AttachMultiple or SplineOps.StartAttach but afaik I just can go into the Attach Mode or something.

Maybe someone can help me.

Thanks :)

ZeBoxx2
01-20-2009, 05:47 PM
try...

addAndWeld <to_shape> <from_shape> <weldthreshold_float>

Add the splines from one spline shape to the specified bezier shape. The weld threshold will weld the endpoints of the new splines onto endpoints of existing ones if they are within the distance specified.

tarcus
01-21-2009, 11:31 AM
Works fine :) Thanks! So hidden in the Maxscript Reference :)

CGTalk Moderation
01-21-2009, 11:31 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.