pymel.core.system.saveFile

static system.saveFile(**kwargs)

Save the specified file. Returns the name of the saved file.

Flags:
  • force:

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

  • preSaveScript:

    When used with the save flag, the specified script will be executed before the file is saved.

  • postSaveScript:

    When used with the save flag, the specified script will be executed after the file is saved.

  • 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), imageplug-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.saveAs

Next topic

pymel.core.system.saveImage

Core

Core Modules

Other Modules

This Page