ScriptSpot

Forum topic · General Scripting

How to Add SubDivide modify for each object seperate

By stark · 2015-01-25

Description

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 (1)

barigazy · 2015-01-27

try this

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