Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Python / Any way to get maya to open without loading plug-ins?
  RSS 2.0 ATOM  

Any way to get maya to open without loading plug-ins?
Rate this thread
 
36947
 
Permlink of this thread   Subscribe to this thread
avatar
  • Ben VZ
  • Posted: 21 November 2009 05:57 AM
  • Total Posts: 7
  • Joined: 27 August 2009 06:34 PM

I have a standalone python script that loads maya and does some fancy stuff.

Every time it loads the scene, however, I get a bunch of notifications that it is loading mental ray plug-ins.

Example:

mental ray for Maya 10.0
// mental ray for Maya: using startup file /studio/apps/commercial/Linux.x86_64/maya2009-sp1/bin/../mentalray/maya.rayrc
mental ray: version 3.7.1.27, Jan 26 2009, revision 30548
// mental ray Node Factory: loaded
// parsing /studio/apps/commercial/Linux.x86_64/maya2009-sp1/bin/../mentalray/include/AdskShaderSDKWrappers.mi
// generating Maya nodes…
// parsing /studio/apps/commercial/Linux.x86_64/maya2009-sp1/bin/../mentalray/include/architectural.mi
// loading /studio/apps/commercial/Linux.x86_64/maya2009-sp1/bin/../mentalray/lib/architectural.so
// generating Maya nodes…

I have the following code which, I thought, was supposed to prevent the plug-ins from loading:

mc.openMayaPref( lz=True ) #Do not load plugins

Is there any better way to not load plug-ins?  Or can I at least quiet Maya down about the mental ray plug-ins it IS loading?

Thanks!



Replies: 1
/userdata/avatar/avatar_1601.png

maya.exe -noAutoloadPlugins

Author: rasto

Replied: 21 March 2010 12:30 PM  




   
  Settings Choose Theme color: