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

Synopsis

dgmodified()

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

dgmodified is NOT undoable, NOT queryable, and NOT editable.

The dgmodified command is used to find out which nodes in the dependency graph have been modified. This is mostly useful for fixing instances where file new asks you to save when no changes have been made to the scene.

Return value

string[]list of all nodes that have been modified

Keywords

debug, modified, nodes

Related

dbcount, dgdirty, dgeval

Python examples

import maya.cmds as cmds

# list all modified nodes
cmds.dgmodified()