ScriptSpot

Forum topic · General Scripting

addModifier function: Need some advice

By maxwell3d · 2011-09-14

Downloads
Description

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

Comments (2)

maxwell3d · 2011-09-14

Thanks very much! You are very kind.

miauu · 2011-09-14

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
)