Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
dagObjectCompare [-attribute] [-bail string] [-connection] [-namespace string] [-relative] [-short] [-type]
dagObjectCompare is NOT undoable, NOT queryable, and NOT editable.
dagObjectCompare can be used to compare to compare objects based on:
- type - Currently supports transform nodes and shape nodes
- relatives - Compares DAG objects' children and parents
- connections - Checks to make sure the two dags are connected to the same sources and destinations
- attributes - Checks to make sure that the properties of active attributes are the same
None
dag, compare
attribute, bail, connection, namespace, relative, short, type
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.
|
// Compare two objects based on type and their relatives where one is in the namespace "base":
dagObjectCompare -t -r -n base
// Compare two objects based on their connections and attributes where one is in the namespace "base" , break on first error:
dagObjectCompare -c -a -b first
// Compare two objects based on their type, connections, attributes, relatives and break on error while finishing current category:
dagObjectCompare -t -r -c -a -b category -n base