This command prints information about the DG in a text-oriented manner. The scope of the information printed is the entire graph if the -all flag is used, the nodes/plugs on the command line if they were specified, and the selection list, in that order.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
allNodes (all) | bool | ||
|
|||
connections (c) | bool | ||
|
|||
dirty (d) | bool | ||
|
|||
nodes (n) | bool | ||
|
|||
nonDeletable (nd) | bool | ||
|
|||
outputFile (of) | unicode | ||
|
|||
propagation (p) | bool | ||
|
|||
short (s) | bool | ||
|
|||
subgraph (sub) | bool | ||
|
|||
type (nt) | unicode | ||
|
Derived from mel command maya.cmds.dgInfo
Example:
import pymel.core as pm
# create a node
pm.createNode('transform',name='NODE')
# Result: nt.Transform(u'NODE') #
pm.setKeyframe('NODE.translate')
# Result: 3 #
# Print all things connected to node NODE
pm.dgInfo( 'NODE', c=True )
# Print all connections currently in the graph
pm.dgInfo( c=True, all=True )
# Print all connections to attribute tx on node NODE
pm.dgInfo('NODE.tx',c=True)
# Print all dirty connections in the entire graph
pm.dgInfo( c=True, all=True, d=True )