Notifications
Clear all

[Closed] Script to make a modifier unique?

Heya Folks!

I’ve abig scene at the minute which is causing problems when using skin wrap objects rendered in vray. The scene was made using a single skin wrap modifier across multiple objects which I think might be causing issues (vray crashes while preparing geometry and you can see it stop a objects using skin wrap) so I’d like to select all the objects in the scene with skin wrap and make the modifier unique. I can pick the objects alright, but I’m not sure of the code to make a modifier unique in this case. Anyone any hints?

Cheers!

John

1 Reply

if one object with those modifier is selected, the next s’d do it

mArr = #($.modifiers.Skin_Wrap)
oArr = refs.dependentNodes mArr[1]
if InstanceMgr.CanMakeModifiersUnique &oArr &mArr do
InstanceMgr.MakeModifiersUnique &oArr &mArr #individual