is it common having to force dg re-evaluation after running some code?

I’d have to go with “Well” followed by “It depends”.

To be honest, I rarely find myself duplicating complex networks of nodes
very often, but instead tend to script them to begin with as it allows for
a little more flexibility. But, when you have to deal with attributes and
dirty states of things that doesn’t necessarily update when you would
expect them to, then yes, taking control of the dg evaluation could become
a fairly common thing to do. It does mean things that may already have
processed to process once more and thus cost precious cycles, so I would
avoid doing it on a per-frame basis - like in real-time rigging situations
- but otherwise, and in your case, it should be all dandy.​
​

-- 
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/CAFRtmOCC7kqbPJ-QkyVMCY8pTujni_A9su%2BjxjRVNX9S5G_NxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to