In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-force(-f)
|
|
|
|
Force the export action to take place. This flag is required to overwrite an existing file.
|
|
-selected(-sel)
|
|
|
|
Export will operate on the list of nodes currently selected. This flag differs from the
exportSelected flag in that the selected nodes are not exported, only the edits on
them, and any nodes found via the include flags the are used (such as includeAnimation,
includeNetwork and so on).
|
|
-exportSelected(-exs)
|
|
|
|
The selected nodes and their connections to each other will be exported. Additionally,
any dangling connections to non-exported nodes will be exported.
Any default nodes (the internal nodes that Maya creates on startup) that are selected are skipped.
Please note that when using the exportSelected flag, only selected nodes are exported, and
-include/-exclude flags such as -includeHierarchy are ignored.
|
|
-includeAnimation(-ian)
|
|
|
|
Additionally includes animation nodes and animation helper nodes associated with
the target nodes being exported.
|
|
-includeNetwork(-inw)
|
|
|
|
Additionally includes the network of nodes connected to the target nodes being exported.
|
|
-includeShaders(-ish)
|
|
|
|
Additionally include shaders associated with the target nodes being exported.
|
|
-includeSetDrivenKeys(-sdk)
|
|
|
|
Additionally include setDrivenKey-related nodes associated with the target nodes being exported.
|
|
-includeConstraints(-ic)
|
|
|
|
Additionally include constraint-related nodes associated with the target nodes being exported.
|
|
-excludeHierarchy(-ehr)
|
|
|
|
By default exporting passes all DAG parents and DAG history to the export file.
To prevent any DAG relations not otherwise connected to the target nodes to be
output, specify the -excludeHierarchy flag.
|
|
-includeDeformers(-idf)
|
|
|
|
Additionally include deformer networks associated with the target nodes being exported.
|
|
-includeNode(-in)
|
string
|
|
|
Additionally include the named node in the list of nodes being
exported. In the case where more than one Maya node has the
same name, you can specify the DAG path to uniquely identify the node.
|
|
-excludeNode(-en)
|
string
|
|
|
Prevent the node from being included in the list of nodes being
exported. This flag is useful to exclude specific scene nodes that might
otherwise be exported. In the case where more than one Maya node has the
same name, you can specify the DAG path to uniquely identify the node.
|
|
-type(-typ)
|
string
|
|
|
Set the type of the exported file.
Valid values are "editMA" or "editMB".
Note that this command respects the global "defaultExtensions" setting
for file naming that is controlled with the file command defaultExtensions
option. See the file command for more information.
|
|
-includeSetAttrs(-isa)
|
boolean
|
|
|
When using the -selected/-sel flag, if any of the selected nodes are referenced,
also include/exclude any setAttr edits on those nodes. If used with the -onReferenceNode/-orn
flag, include/exclude any setAttr edits on the reference.
|
|
-editCommand(-ec)
|
string
|
|
|
This is a secondary flag used to indicate which type of reference edits should
be considered by the command.
If this flag is not specified all edit types will be included.
This flag requires a string parameter. Valid values are: "addAttr",
"connectAttr", "deleteAttr", "disconnectAttr", "parent", and "setAttr".
In some contexts, this flag may be specified more than once to specify multiple
edit types to consider.
|
|
-onReferenceNode(-orn)
|
string
|
|
|
This is a secondary flag used to indicate that only those edits which are stored
on the indicated reference node should be considered. This flag only supports
multiple uses when specified with the "exportEdits" command.
|
|