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

Synopsis

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:

Return value

None

Keywords

dag, compare

Flags

attribute, bail, connection, namespace, relative, short, type
Long name (short name) Argument types Properties
-attribute(-a) create
Compare dag object attributes
-bail(-b) string create
Bail on first error or bail on category. Legal values are "never", "first", and "category".
-connection(-c) create
Compare dag connections
-namespace(-n) string create
The baseline namespace
-relative(-r) create
dag relatives
-short(-s) create
Compress output to short form (not as verbose)
-type(-t) create
Compare based on dag object 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.

MEL examples

// 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