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

Synopsis

dgInfo([allNodes=boolean], [connections=boolean], [dirty=boolean], [nodes=boolean], [nonDeletable=boolean], [outputFile=string], [propagation=boolean], [short=boolean], [subgraph=boolean], [type=string])

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

dgInfo is undoable, queryable, and editable.

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.

Flags

allNodes, connections, dirty, nodes, nonDeletable, outputFile, propagation, short, subgraph, type
Long name (short name) [argument types] Properties
connections(c) boolean createqueryedit
Print the connection information

In query mode, this flag needs a value.

nodes(n) boolean createqueryedit
Print the specified nodes (or the entire graph if -all is used)

In query mode, this flag needs a value.

subgraph(sub) boolean createqueryedit
Print the subgraph affected by the node or plugs (or all nodes in the graph grouped in subgraphs if -all is used)

In query mode, this flag needs a value.

allNodes(all) boolean createqueryedit
Use the entire graph as the context

In query mode, this flag needs a value.

short(s) boolean createqueryedit
Print using short format instead of long

In query mode, this flag needs a value.

dirty(d) boolean createqueryedit
Only print dirty/clean nodes/plugs/connections. Default is both

In query mode, this flag needs a value.

propagation(p) boolean createqueryedit
Only print propagating/not propagating nodes/plugs/connections. Default is both.

In query mode, this flag needs a value.

nonDeletable(nd) boolean createqueryedit
Include non-deletable nodes as well (normally not of interest)

In query mode, this flag needs a value.

type(nt) string createqueryedit
Filter output to only show nodes of type NODETYPE

In query mode, this flag needs a value.

outputFile(of) string createqueryedit
Send the output to the file FILE instead of STDERR

In query mode, this flag needs a value.


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]

Keywords

debug, dependency, graph, node, output, connection

Related

dgPerformance, dgdebug, dgdirty, dgeval, dgfootprint, dgstats

Python examples

import maya.cmds as cmds

# create a node
cmds.createNode('transform',name='NODE')
cmds.setKeyframe('NODE.translate')
# Print all things connected to node NODE
cmds.dgInfo( 'NODE', c=True )
# Print all connections currently in the graph
cmds.dgInfo( c=True, all=True )
# Print all connections to attribute tx on node NODE
cmds.dgInfo('NODE.tx',c=True)
# Print all dirty connections in the entire graph
cmds.dgInfo( c=True, all=True, d=True )