ScriptSpot home

Forum topic · General Scripting

addModifier function: Need some advice

By Mario Blanco · 2011-09-14

Downloads
Description

I try to follow this example script but dont work and i really apreciated some advice
thanks

Comments (2)
Mario Blanco

Thanks very much! You are very kind.

miauu

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
)