No much use...
IDLE 1.2.2
>>> import maya.standalone as ms
>>> ms.initialize()
>>> import maya.cmds as mm
>>> mm.quit(force=1)
No effect! Still maya modules are loaded!
This might quit the MAYA Safly.... But modules loaded once are still
in memory.. I can't unload that!
On Mar 15, 5:11 am, Ofer Koren <
kor...@gmail.com> wrote:
> This might work:
> import maya.cmds as mc
>
> mc.quit(force=True)
>
> Flagsabort<file:///C:/program%20files/autodesk/maya2008/docs/Maya2008/en_US /CommandsPython/quit.html#flagabort>
> , exitCode<file:///C:/program%20files/autodesk/maya2008/docs/Maya2008/en_US/C ommandsPython/quit.html#flagexitCode>
> , force<file:///C:/program%20files/autodesk/maya2008/docs/Maya2008/en_US/Comm andsPython/quit.html#flagforce>Long
> name (short name)*argument types*Properties*force*(*f*)*boolean*[image:
> create]If specified, this flag will force a quit without saving or prompting
> for saving changes. Use at your own risk.*exitCode*(*ec*)*uint*[image:
> create]Specifies the exit code to be returned once the application exits.
> The default exit code is 0.*abort*(*a*)*boolean*[image: create]Will quit