Go to: Synopsis. Return value. Keywords. Related. Python examples.
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.
|string||list of all nodes that have been modified|
import maya.cmds as cmds # list all modified nodes cmds.dgmodified()