I execute a simple action by script.
I have an object with an 'Edit Poly' modifier on it and the script bevels the selected polygons of the modifier:
$.modifiers[#Edit_Poly].SetOperation #Bevel
$.modifiers[#Edit_Poly].bevelHeight = 3
$.modifiers[#Edit_Poly].Commit ()
This works fine.
What I'm trying to do is replace [#Edit_Poly] by a variable. That for I use:
$.modifiers
which in the MAXScript Listener puts out:
#modifiers(Edit Poly:Edit Poly)
My question is how to get the class of
#modifiers(Edit Poly:Edit Poly)
inorder to be able to use
[#Edit_Poly]
Does anyone have an idea?
jos · 2012-03-30