How to Add SubDivide modify for each object seperate

hi
i want to apply Subdivide Modify To all my scene objects and then can change each one object subdivide size value.

this script add subdivide modify to all my objects in scene ;

problem is after i run this script and going to modify panel and trying to change just one object subdivide size value in parameter list i see all objects in scene subdivide size will change together ! but i just want to change just selected object subdivide size not all. :(

max modify mode

modPanel.addModToSelection (subdivide ()) ui:on

for i = 1 to selection.count do
(

selection[i].modifiers[#Subdivide].size = 30

)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

...

try this

for o in objects where canconverttomesh o do addmodifier o ((subdivide ()))

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.