Long name (short name) |
Argument types |
Properties |
-long(-l) |
|
![create create](../gfx/create.gif) |
|
Return full path names for Dag objects. By default the shortest
unique name is returned. |
|
-shortNames(-sn) |
|
![create create](../gfx/create.gif) |
|
Return short attribute names. By default long attribute names
are returned. |
|
-head(-hd) |
int |
![create create](../gfx/create.gif) |
|
This flag specifies the maximum number of elements to be
returned from the beginning of the list of items. Note: each type
flag will return at most this many items so if multiple type flags
are specified then the number of items returned can be greater than
this amount. |
|
-tail(-tl) |
int |
![create create](../gfx/create.gif) |
|
This flag specifies the maximum number of elements to be
returned from the end of the list of items. Note: each type flag
will return at most this many items so if multiple type flags are
specified then the number of items returned can be greater than
this amount |
|
-type(-typ) |
string |
![create create](../gfx/create.gif) ![multiuse multiuse](../gfx/multiuse.gif) |
|
List all objects of the specified type. This flag can appear
multiple times on the command line. Note: the type passed to this
flag is the same type name returned from the -showType flag. Note:
some selection items in Maya do not have a specific object/data
type associated with them and will return "untyped" when listed
with this flag.
This flag cannot be used in conjunction with the -exactType
flag. |
|
-exactType(-et) |
string |
![create create](../gfx/create.gif) ![multiuse multiuse](../gfx/multiuse.gif) |
|
List all objects of the specified type, but not objects
that are descendents of that type. This flag can appear multiple
times on the command line. Note: the type passed to this flag is
the same type name returned from the -showType flag.
This flag cannot be used in conjunction with the -type flag. |
|
-containerType(-ct) |
string |
![create create](../gfx/create.gif) ![multiuse multiuse](../gfx/multiuse.gif) |
|
List containers with the specified user-defined type.
This flag cannot be used in conjunction with the -type or
-exactType flag. |
|
-showType(-st) |
|
![create create](../gfx/create.gif) |
|
List the type of each object after its name. |
|
-objectsOnly(-o) |
|
![create create](../gfx/create.gif) |
|
When this flag is set only object names will be returned and
components/attributes will be ignored. |
|
-selection(-sl) |
|
![create create](../gfx/create.gif) |
|
List objects that are currently selected. |
|
-orderedSelection(-os) |
|
![create create](../gfx/create.gif) |
|
List objects and components that are currently selected in
their order of selection. This flag depends on the value of the
-tso/trackSelectionOrder flag of the selectPref command. If that
flag is not enabled than this flag will return the same thing as
the -sl/selection flag would. |
|
-live(-lv) |
|
![create create](../gfx/create.gif) |
|
List objects that are currently live. |
|
-hilite(-hl) |
|
![create create](../gfx/create.gif) |
|
List objects that are currently hilited for component
selection. |
|
-preSelectHilite(-psh) |
|
![create create](../gfx/create.gif) |
|
List components that are currently hilited for
pre-selection. |
|
-geometry(-g) |
|
![create create](../gfx/create.gif) |
|
List geometric Dag objects. |
|
-dependencyNodes(-dep) |
|
![create create](../gfx/create.gif) |
|
List dependency nodes. (including Dag objects) |
|
-dagObjects(-dag) |
|
![create create](../gfx/create.gif) |
|
List Dag objects of any type. If object name arguments are
passed to the command then this flag will list all Dag objects
below the specified object(s). |
|
-leaf(-lf) |
|
![create create](../gfx/create.gif) |
|
List all leaf nodes in Dag. This flag is a modifier and must be
used in conjunction with the -dag flag. |
|
-assemblies(-as) |
|
![create create](../gfx/create.gif) |
|
List top level transform Dag objects |
|
-allPaths(-ap) |
|
![create create](../gfx/create.gif) |
|
List all paths to nodes in DAG. This flag only works if
-dag is also specified or if an object name is
supplied. |
|
-transforms(-tr) |
|
![create create](../gfx/create.gif) |
|
-shapes(-s) |
|
![create create](../gfx/create.gif) |
|
-lights(-lt) |
|
![create create](../gfx/create.gif) |
|
-cameras(-ca) |
|
![create create](../gfx/create.gif) |
|
-planes(-pl) |
|
![create create](../gfx/create.gif) |
|
List construction plane shapes. |
|
-partitions(-pr) |
|
![create create](../gfx/create.gif) |
|
-sets(-set) |
|
![create create](../gfx/create.gif) |
|
-textures(-tex) |
|
![create create](../gfx/create.gif) |
|
-materials(-mat) |
|
![create create](../gfx/create.gif) |
|
List materials or shading groups. |
|
-renderQualities(-rq) |
|
![create create](../gfx/create.gif) |
|
List named render qualities. |
|
-renderResolutions(-rr) |
|
![create create](../gfx/create.gif) |
|
-renderGlobals(-rg) |
|
![create create](../gfx/create.gif) |
|
-renderSetups(-rs) |
|
![create create](../gfx/create.gif) |
|
Alias for -renderGlobals. |
|
-nodeTypes(-nt) |
|
![create create](../gfx/create.gif) |
|
Lists all registered node types. |
|
-readOnly(-ro) |
|
![create create](../gfx/create.gif) |
|
Returns referenced nodes. Referenced nodes are read only. NOTE:
Obsolete. Please use "-referencedNodes". |
|
-referencedNodes(-rn) |
|
![create create](../gfx/create.gif) |
|
Returns referenced nodes. Referenced nodes are read only. |
|
-undeletable(-ud) |
|
![create create](../gfx/create.gif) |
|
Returns nodes that cannot be deleted (which includes locked
nodes). These nodes also cannot be renamed. |
|
-lockedNodes(-ln) |
|
![create create](../gfx/create.gif) |
|
Returns locked nodes, which cannot be deleted or renamed.
However, their status may change. |
|
-persistentNodes(-pn) |
|
![create create](../gfx/create.gif) |
|
Returns persistent nodes, which are nodes that stay in the Maya
session after a file > new. |
|
-flatten(-fl) |
|
![create create](../gfx/create.gif) |
|
Flattens the returned list of objects so that each component is
identified individually. |
|
-visible(-v) |
|
![create create](../gfx/create.gif) |
|
List only visible dag nodes. |
|
-invisible(-iv) |
|
![create create](../gfx/create.gif) |
|
List only invisible dag nodes. |
|
-intermediateObjects(-io) |
|
![create create](../gfx/create.gif) |
|
List only intermediate dag nodes. |
|
-noIntermediate(-ni) |
|
![create create](../gfx/create.gif) |
|
List only non intermediate dag nodes. |
|
-templated(-tm) |
|
![create create](../gfx/create.gif) |
|
List only templated dag nodes. |
|
-untemplated(-ut) |
|
![create create](../gfx/create.gif) |
|
List only un-templated dag nodes. |
|
-ghost(-gh) |
|
![create create](../gfx/create.gif) |
|
-recursive(-r) |
boolean |
![create create](../gfx/create.gif) |
|
When set to true, this command will look for name matches in
all namespaces. When set to false, this command will only look for
matches in namespaces that are requested (e.g. by specifying a name
containing the ':'... "ns1:pSphere1"). |
|
-references(-rf) |
|
![create create](../gfx/create.gif) |
|
List references associated with files. Excludes special
reference nodes such as the sharedReferenceNode and unknown
reference nodes. |
|
-containers(-con) |
|
![create create](../gfx/create.gif) |
|
List containers. Includes both standard containers as well as
other types of containers such as dagContainers. |
|