pymel.core.system.exportAnimFromReference

exportAnimFromReference(exportPath, **kwargs)

Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the 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)

  • 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.exportAnim

Next topic

pymel.core.system.exportAsReference

Core

Core Modules

Other Modules

This Page