Go to: Synopsis. Return value. Related. Flags. MEL examples.
filterInstances [-shapes]
filterInstances is undoable, queryable, and NOT editable.
This command filters the selection list to remove duplicate instances that refer to the same object/components. If any such instances are found they will be merged with the first selected instance. Returns a string array containing all matching selection items or true/false if the query flag is used.| string[] | Command result |
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
-shapes(-s)
|
|
|
||
|
||||
// Returns true if any selected object(s) are instances of another selected object. filterInstances -q; // Returns a new selection list with duplicate instances removed. filterInstances;