PDA

View Full Version : quickest way to find out if the object has morpher modifier


abyjoe
02-15-2008, 01:57 AM
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

marktsang
02-15-2008, 02:20 AM
morphmods = for mod in $.modifiers where classof mod == morpher collect mod
if morphmods.count != 0 then print "hello i have a morpher applied!!!"

mark

abyjoe
02-15-2008, 09:42 AM
thanks... works brilliant

CGTalk Moderation
02-15-2008, 09:42 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.