marktsang
01-20-2005, 12:55 PM
hi all,
i am trying to instance edit poly modifiers from a set of target objects to another set of objects. the objects in each set are all different but each set is the same except for the edit poly. so basically i am trying to instance unique editpoly modifiers from one object to another with Max script. the problem is that it copies as an instance but this instance has no effect on the object its copied to. if i turn off the modifier it turns off in both objects - showing that it is indeed linked to the other one but the geometry isnt changed at all???? what am i doing wrong
here is the code i am using
blah = selection as array;
for i in blah do
(
temp = getnodebyname ((i.name)+"_CH1")
addmodifier temp (i.modifiers[1])
)
can anyone help me?
mark
i am trying to instance edit poly modifiers from a set of target objects to another set of objects. the objects in each set are all different but each set is the same except for the edit poly. so basically i am trying to instance unique editpoly modifiers from one object to another with Max script. the problem is that it copies as an instance but this instance has no effect on the object its copied to. if i turn off the modifier it turns off in both objects - showing that it is indeed linked to the other one but the geometry isnt changed at all???? what am i doing wrong
here is the code i am using
blah = selection as array;
for i in blah do
(
temp = getnodebyname ((i.name)+"_CH1")
addmodifier temp (i.modifiers[1])
)
can anyone help me?
mark
