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

Synopsis

dgdirty [-allPlugs] [-clean] [-verbose]

dgdirty is undoable, NOT queryable, and NOT editable.

The dgdirty command is used to force a dependency graph dirty message on a node or plug. Used for debugging to find evaluation problems. If no nodes are specified then the current selection list is used.

Return value

None

Related

dgInfo, dgeval

Flags

allPlugs, clean, verbose
Long name (short name) Argument types Properties
-verbose(-v) create
Prints out all of the plugs being set dirty on stdout.
-clean(-c) create
If this flag is set then the attributes are cleaned. Otherwise they are set to dirty.
-allPlugs(-a) create
Ignore the selected or specified objects and dirty (or clean) all plugs.

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

// Set everything in the entire scene dirty
//
dgdirty -a;

dgdirty myNode;     // Set all connected plugs dirty on "myNode"
// Result: 5        // 5 plugs were set dirty
dgdirty locator1;   // Set all connected plugs dirty on "locator1"
// Result: 0        // 0 plugs were connected so no dirty message was sent
select myNode.tx;
dgdirty;            // Set myNode.tx dirty
// Result: 1