Long name (short name) |
Argument types |
Properties |
|
-absoluteName(-an)
|
|
|
|
This is a general flag which can be used to specify the desired format for
the namespace(s) returned by the command.
The absolute name of the namespace is a full namespace path, starting from the root namespace ":"
and including all parent namespaces. For example ":ns:ball" is an absolute namespace
name while "ns:ball" is not.
The absolute namespace name is invariant and is not affected by the current namespace or
relative namespace modes.
See also other format modifiers 'baseName', 'fullName', etc
|
|
-baseName(-bn)
|
|
|
|
This is a general flag which can be used to specify the desired format for
the namespace(s) returned by the command. The base name of the namespace
contains only the leaf level name and does not contain its parent namespace(s).
For example the base name of an object named "ns:ball" is "ball".
This mode will always return the base name in the same manner, and is not affected by the
current namespace or relative namespace mode.
See also other format modifiers 'absoluteName', 'fullName', etc
The flag 'shortName' is a synonym for 'baseName'.
|
|
-currentNamespace(-cur)
|
|
|
|
Display the name of the current namespace.
|
|
-dagPath(-dp)
|
|
|
|
This flag modifies the 'listNamespace' and
'listOnlyDependencyNodes' flags to indicate that the names
of any dag objects returned will include as much of the dag path
as is necessary to make the names unique. If this flag is not
present, the names returned will not include any dag paths.
|
|
-fullName(-fn)
|
|
|
|
This is a general flag which can be used to specify the desired format for
the namespace(s) returned by the command. The full name of the namespace
contains both the namespace path and the base name, but without the leading colon representing
the root namespace.
For example "ns:ball" is a full name, whereas ":ns:ball" is an absolute name.
This mode is affected by the current namespace and relative namespace modes.
See also other format modifiers 'baseName', 'absoluteName', etc.
|
|
-internal(-int)
|
|
|
|
This flag is used together with the 'listOnlyDependencyNodes' flag.
When this flag is set, the returned list will
include internal nodes (for example itemFilters) that are not listed by default.
|
|
-isRootNamespace(-ir)
|
string
|
|
|
Returns true if the namespace is root(":"), false if not.
|
|
-listNamespace(-ls)
|
|
|
|
List the contents of the namespace.
|
|
-listOnlyDependencyNodes(-lod)
|
|
|
|
List all dependency nodes in the namespace.
|
|
-listOnlyNamespaces(-lon)
|
|
|
|
List all namespaces in the namespace.
|
|
-parent(-p)
|
|
|
|
Display the parent of the namespace.
By default, the list returned will not include internal nodes (such as itemFilters).
To include the internal nodes, use the 'internal' flag.
|
|
-recurse(-r)
|
|
|
|
Can be specified with 'listNamespace', 'listOnlyNamespaces'
or 'listOnlyDependencyNode' to cause the listing to recursively
include any child namespaces of the namespaces;
|
|
-shortName(-sn)
|
|
|
|
This flag is deprecated and may be removed in future releases of Maya.
It is a synonym for the baseName flag. Please use the baseName flag instead.
|
|