Ie, I want to know if nodeA.startPlug is made dirty, will it cause
nodeB.endPlug to become dirty as well?

In other words, I want to know if startPlug can potentially affect endPlug.

I could attempt to figure this out myself, by tracking back through the
dependency graph, querying for attribute-affects values, etc... but this is
trickier than it seems (ie, you have to deal with situations with
parent-dag objects changing, etc), and I'm nearly certain I would miss some
edge cases...

- Paul

PS - If possible, I'd like to also avoid triggering ACTUAL dg-graph
evaluation - i.e., I'd like to avoid actually setting plugs dirty, or
changing their values, etc.  So far, the only way I've found is to set a
plug-dirty callback on endplug, then actually CHANGE startPlug's value...
simply calling dgdirty on startPlug doesn't do the trick... but this could
have all sorts of un-intended side-effects...

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to