Go to: Synopsis. Return value. Flags. Python examples.
quit([abort=boolean], [exitCode=uint], [force=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
quit is undoable, NOT queryable, and NOT editable.
This command is used to exit the application.None
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
force(f)
|
boolean
|
|
||
|
||||
exitCode(ec)
|
uint
|
|
||
|
||||
abort(a)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds cmds.quit() cmds.quit(force=True)