Go to: Synopsis. Flags. Return value. Related. MEL examples.
openMayaPref [-errlog boolean] [-lazyLoad boolean] [-oldPluginWarning boolean]
openMayaPref is undoable, queryable, and editable.
Set or query API preferences.
errlog, lazyLoad, oldPluginWarning
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command
|
[int] indicates success or failure
loadPlugin, pluginInfo, unloadPlugin
// Enable RTLD_LAZY binding when loading plug-ins
openMayaPref -lz true;
// Force RTLD_NOW binding when loading plug-ins
openMayaPref -lz false;
// Disable the warning about old plug-ins being loaded
openMayaPref -ow false;
// Turn on the Error log
openMayaPref -errlog true;
// Query the Error log
openMayaPref -q -errlog;
// Turn off the Error log
openMayaPref -errlog false;