Notifications
Clear all

[Closed] copy/paste editspline modifier

I tried to use maxscript to copy edits from one spline to another…easy using copy/paste …I thought this would be a 2 line job in mxs.
Nothing works – not addmodifier, not mod.addselection …nothing…Is there a way to do this or not?

4 Replies

You can copy and paste this way. The Obj1.modifiers[NUMBER IN STACK] starts at 1 being the top.


Obj1 = $Box001
Obj2 = $Box002
MyMod = Obj1.modifiers[1]
addmodifier Obj2 MyMod

yes but this does not transfer any edits made to the first spline to the second

Oh, sorry

You didnt say you needed that. Will both splines always have the same knot count?

if you are trying to get the changes in the spline from the editspline mod, you can’t get thet.

when you copy/paste modifier via maxscript, some of the information related to modifier could not be copied.
This is known issue and need to wait for the fix.