pymel.core.system.exportSelected

exportSelected(exportPath, **kwargs)

Export the selected items into the specified file. Returns the name of the exported file.

Flags:
  • force:

    Force an action to take place. (new, open, save, remove reference)

  • constructionHistory:

    For use with exportSelected to specify whether attached construction history should be included in the export.

  • channels:

    For use with exportSelected to specify whether attached channels should be included in the export.

  • constraints:

    For use with exportSelected to specify whether attached constraints should be included in the export.

  • expressions:

    For use with exportSelected to specify whether attached expressions should be included in the export.

  • shader:

    For use with exportSelected to specify whether attached shaders should be included in the export.

  • preserveReferences:

    When used with the import/export flags this tells the importer/exporter to import/export references as references instead of copies of those references.

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

Next topic

pymel.core.system.exportSelectedAnim

Core

Core Modules

Other Modules

This Page