Go to: Synopsis. Flags. Return value. Related. Python examples.

Synopsis

dgeval( [<objectList>] , [verbose=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

dgeval is undoable, queryable, and editable.

The dgeval command is used to force a dependency graph evaluate of a node or plug. Used for debugging to find propagation problems.

Flags

verbose
Long name (short name) [argument types] Properties
verbose(v) boolean create
If this flag is used then the results of the evaluation(s) is/are printed on stdout. -src If specified then evaluate node outputs as well as inputs when evaluating an entire node. <objectList> 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.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Return value


None

Related

dgInfo, dgPerformance, dgdebug, dgdirty, dgfootprint, dgstats

Python examples

import maya.cmds as cmds

# Evaluate all (connected) plugs on "myNode"
cmds.dgeval( 'myNode' )
# Result: 5
# This means that 5 plugs were evaluated

# Evaluate myNode.tx only
cmds.select( 'myNode.tx' )
cmds.dgeval()
# Result: 1