There's this good'ol workflow most apply when they want to know exactly 
what plug is getting changed
 so that you can make more efficient decision/computation, this typically 
involve the use of MPxNode::setDependentsDirty(..) , 

the thing is why setup just boolean flags with it ? instead of assigning 
the passed MPlug of MPxNode::setDependentsDirty(const MPlug& plug,..) to a 
member variable of the node class ? 
(you can verify and compare to your attribute with MPlug::attribute() == 
myattribute )

this offer more versatility and when dealing with compound/arrays attribute 
it is way less redundant than the jumpToElement mouse and cat game, so why 
? 
As a matter of fact I tested this approach and see no problem with it ..

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/33441941-e271-4578-a81c-7b5b0f131590%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to