I try to follow this example script but dont work and i really apreciated some advice
thanks
Forum topic · General Scripting
addModifier function: Need some advice
By Mario Blanco · 2011-09-14
Downloads
- error_1.jpg — error_1.jpg251 KB
Forum topic · General Scripting
By Mario Blanco · 2011-09-14
I try to follow this example script but dont work and i really apreciated some advice
thanks
Comments (2)
Comment policy
Thanks very much! You are very kind.
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
)