addModifier function: Need some advice
I try to follow this example script but dont work and i really apreciated some advice
thanks
Attachment | Size |
---|---|
error_1.jpg | 250.76 KB |
I try to follow this example script but dont work and i really apreciated some advice
thanks
Attachment | Size |
---|---|
error_1.jpg | 250.76 KB |
Comments
Thanks very much! You are
Thanks very much! You are very kind.
You can't add the modifier
You can't add the modifier because the name of the selected box is Box001, but you try to add modifier to Box01
So, to avoid this use:
addModifier $ ....
or
addModifier selection[1] ....
-- the code below will add bend modifier to selected object
(
bendM = Bend angle:45 direction:50
addModifier selection[1] bendM
)
Tools and Scripts for Autodesk 3dsMax