Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Python / Disabling Maya initialized through "maya.standalone.initialize"?
  RSS 2.0 ATOM  

Disabling Maya initialized through "maya.standalone.initialize"?
Rate this thread
 
62227
 
Permlink of this thread  
avatar
  • Location: Vancouver
  • Total Posts: 8
  • Joined: 09 May 2011 03:06 PM

I was wondering if anyone knew the way to shutdown maya that has been invoked through the following code:

import maya.standalone
maya
.standalone.initialize(name='python')

Looking at the documentation there does not seem to be a way of disabling the standalone version once it has been initialized: http://download.autodesk.com/global/docs/maya2012/en_us/index.html

I have tried calling cmds.quit() which looks like it shuts down Maya, but was wondering if there was a way to revert the standalone initialization?



Game Programmer/Technical Artist: http://michaelhubbard.ca

Replies: 0