|
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!
|
|
|