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

Synopsis

dgInfo [-allNodes] [-connections] [-dirty boolean] [-nodes] [-nonDeletable] [-outputFile string] [-propagation boolean] [-short] [-subgraph] [-type string]

dgInfo is NOT undoable, NOT queryable, and NOT 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.

Return value

None

Keywords

debug, dependency, graph, node, output, connection

Related

dgdirty, dgeval

Flags

allNodes, connections, dirty, nodes, nonDeletable, outputFile, propagation, short, subgraph, type
Long name (short name) Argument types Properties
-connections(-c) create
Print the connection information
-nodes(-n) create
Print the specified nodes (or the entire graph if -all is used)
-subgraph(-sub) create
Print the subgraph affected by the node or plugs (or all nodes in the graph grouped in subgraphs if -all is used)
-allNodes(-all) create
Use the entire graph as the context
-short(-s) create
Print using short format instead of long
-dirty(-d) boolean create
Only print dirty/clean nodes/plugs/connections. Default is both
-propagation(-p) boolean create
Only print propagating/not propagating nodes/plugs/connections. Default is both.
-nonDeletable(-nd) create
Include non-deletable nodes as well (normally not of interest)
-type(-nt) string create
Filter output to only show nodes of type NODETYPE
-outputFile(-of) string create
Send the output to the file FILE instead of STDERR

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 be used more than once in a command.

MEL examples

// create a node
createNode -n NODE transform;
setKeyframe NODE.translate;
// Print all things connected to node NODE
dgInfo -c NODE;
// Print all connections currently in the graph
dgInfo -c -all;
// Print all connections to attribute tx on node NODE
dgInfo -c NODE.tx
// Print all dirty connections in the entire graph
dgInfo -c -all -d on;