pymel.core.system.exportSelectedAnimFromReference

exportSelectedAnimFromReference(exportPath, **kwargs)

Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files.

Flags:
  • force:

    Force an action to take place. (new, open, save, remove reference) Used with removeReference to force remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the root namespace.

  • referenceNode:

    When queried, this flag returns the name of the reference node associated with the file. If the file is not a reference or does not have a reference node, an empty string is returned. In query mode, this flag can accept a value.

  • type:

    Set the type of this file. By default this can be any one of: “mayaAscii”, “mayaBinary”, “mel”, “OBJ”, “directory”, “plug-in”, “audio”, “move”, “EPS”, “Adobe(R) Illustrator(R)”, “image” plug-ins may define their own types as well.Return a string array of file types that match this file.

Derived from mel command maya.cmds.file

Previous topic

pymel.core.system.exportSelectedAnim

Next topic

pymel.core.system.fcheck

Core

Core Modules

Other Modules

This Page