Notifications
Clear all

[Closed] quickest way to find out if the object has morpher modifier

whats the quickest way to find out if the object has a morpher modifier… also try your solution after renaming the morpher to something else… running into problems there.

what i want to do is to check a Layer and all objects that have morpher modifier, so by the press of a button the user can set all active morph channels on all objects with morpher mod to 100% and all morphs to 0

2 Replies

morphmods = for mod in $.modifiers where classof mod == morpher collect mod
if morphmods.count != 0 then print “hello i have a morpher applied!!!”

mark

thanks… works brilliant