Piflik
09-07-2009, 10:23 PM
I try to assign instanced Modifiers on a selection of objects, but I have no luck with that seemingly easy task. I use the following code, that is nearly an exact copy from the MXS User Reference. Still it gives a error: Custom_Mod: undefiened; Unable to convert: undefined to type: Modifier
Here's the code:
Custom_Mod = Twist()
for o in selection do addmodifier o Custom_Mod
I also tried a variation of the code with the same result:
Custom_Mod = $Cylinder01.twist
for o in selection do addmodifier o Custom_Mod
I really don't know whats happening there...
(tried in Max2008 and Max2010...same on both)
Here's the code:
Custom_Mod = Twist()
for o in selection do addmodifier o Custom_Mod
I also tried a variation of the code with the same result:
Custom_Mod = $Cylinder01.twist
for o in selection do addmodifier o Custom_Mod
I really don't know whats happening there...
(tried in Max2008 and Max2010...same on both)
