pymel.core.system.exportSelectedAnim

exportSelectedAnim(exportPath, **kwargs)

Export all animation nodes and animation helper nodes from the selected objects in the scene. 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.

  • 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