pymel.core.system.newFile

newFile(*args, **kwargs)

Initialize the scene. Returns untitled scene with default location.

Flags:
  • force:

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

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

Next topic

pymel.core.system.ogs

Core

Core Modules

Other Modules

This Page