Long name (short name) |
Argument types |
Properties |
-long(-l) |
|
|
|
Return full path names for Dag objects. By default the shortest
unique name is returned. |
|
-shortNames(-sn) |
|
|
|
Return short attribute names. By default long attribute names
are returned. |
|
-head(-hd) |
int |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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. |
|
-showType(-st) |
|
|
|
List the type of each object after its name. |
|
-objectsOnly(-o) |
|
|
|
When this flag is set only object names will be returned and
components/attributes will be ignored. |
|
-selection(-sl) |
|
|
|
List objects that are currently selected. |
|
-live(-lv) |
|
|
|
List objects that are currently live. |
|
-hilite(-hl) |
|
|
|
List objects that are currently hilited for component
selection. |
|
-preSelectHilite(-psh) |
|
|
|
List components that are currently hilited for
pre-selection. |
|
-geometry(-g) |
|
|
|
List geometric Dag objects. |
|
-dependencyNodes(-dep) |
|
|
|
List dependency nodes. (including Dag objects) |
|
-dagObjects(-dag) |
|
|
|
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) |
|
|
|
List all leaf nodes in Dag. This flag is a modifier and must be
used in conjunction with the -dag flag. |
|
-assemblies(-as) |
|
|
|
List top level transform Dag objects |
|
-allPaths(-ap) |
|
|
|
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) |
|
|
|
-shapes(-s) |
|
|
|
-lights(-lt) |
|
|
|
-cameras(-ca) |
|
|
|
-planes(-pl) |
|
|
|
List construction plane shapes. |
|
-partitions(-pr) |
|
|
|
-sets(-set) |
|
|
|
-textures(-tex) |
|
|
|
-materials(-mat) |
|
|
|
List materials or shading groups. |
|
-renderQualities(-rq) |
|
|
|
List named render qualities. |
|
-renderResolutions(-rr) |
|
|
|
-renderGlobals(-rg) |
|
|
|
-renderSetups(-rs) |
|
|
|
Alias for -renderGlobals. |
|
-nodeTypes(-nt) |
|
|
|
Lists all registered node types. |
|
-readOnly(-ro) |
|
|
|
Returns referenced nodes. Referenced nodes are read only. NOTE:
Obsolete. Please use "-referencedNodes". |
|
-referencedNodes(-rn) |
|
|
|
Returns referenced nodes. Referenced nodes are read only. |
|
-undeletable(-ud) |
|
|
|
Returns nodes that cannot be deleted (which includes locked
nodes). These nodes also cannot be renamed. |
|
-lockedNodes(-ln) |
|
|
|
Returns locked nodes, which cannot be deleted or renamed.
However, their status may change. |
|
-persistentNodes(-pn) |
|
|
|
Returns persistent nodes, which are nodes that stay in the Maya
session after a file > new. |
|
-flatten(-fl) |
|
|
|
Flattens the returned list of objects so that each component is
identified individually. |
|
-visible(-v) |
|
|
|
List only visible dag nodes. |
|
-invisible(-iv) |
|
|
|
List only invisible dag nodes. |
|
-intermediateObjects(-io) |
|
|
|
List only intermediate dag nodes. |
|
-noIntermediate(-ni) |
|
|
|
List only non intermediate dag nodes. |
|
-templated(-tm) |
|
|
|
List only templated dag nodes. |
|
-untemplated(-ut) |
|
|
|
List only un-templated dag nodes. |
|
-ghost(-gh) |
|
|
|
-recursive(-r) |
boolean |
|
|
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) |
|
|
|
List references associated with files. Excludes special
reference nodes such as the sharedReferenceNode and unknown
reference nodes. |
|
-containers(-con) |
|
|
|
List containers. Includes both standard containers as well as
other types of containers such as dagContainers. |
|