The dgevalcommand is used to force a dependency graph evaluate of a node or plug. Used for debugging to find propagation problems. Normally the selection list is used to determine which objects to evaluate, but you can add to the selection list by specifying which objects you want on the command line.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
src / src | bool | ![]() |
|
|
|||
verbose / v | bool | ![]() |
|
|
Derived from mel command maya.cmds.dgeval
Example:
import pymel.core as pm
# Evaluate all (connected) plugs on "myNode"
pm.dgeval( 'myNode' )
# Result: 5
# This means that 5 plugs were evaluated
# Evaluate myNode.tx only
pm.select( 'myNode.tx' )
pm.dgeval()
# Result: 1