Cortex
10.0.0-a4
|
IECOREMAYA_DISABLE_MENU Set this to a value of 1 to disable the creation of the Cortex menu in Maya. More...
IECOREMAYA_DISABLE_MENU Set this to a value of 1 to disable the creation of the Cortex menu in Maya.
Various aspects of the cortex libraries are configured using environment variables. These are listed below.
IECORE_CONFIG_PATHS
Defines a series of paths on which config files may be located. When the IECore python module loads for the first time all *.py files on these paths will be sourced.
IECORE_OP_PATHS
This environment variable is used to search for Op classes to be loaded from disk.
IECORE_OP_PRESET_PATHS
Used to save and load presets for use with Ops.
IECORE_PROCEDURAL_PATHS
This environment variable is used to search for ParameterisedProcedural classes to be loaded from disk. node.
IECORE_PROCEDURAL_PRESET_PATHS
Used to save and load presets for use with ParameterisedProcedurals.
IECORE_CACHEDREADER_PATHS
Used to specify the settings for the default CachedReader. See CachedReader::defaultCachedReader() for more information.
IECORE_LOG_LEVEL
Specifies the default filtering level for messages. Valid values are :
IECORE_OBJECTPOOL_MEMORY
Used to specify the memory limits for the default ObjectPool. See ObjectPool::defaultObjectPool() for more information.
CORTEX_POINTDISTRIBUTION_TILESET
Defines the location of the tileset used by IECore::PointDistribution::defaultInstance().
IECOREGL_SHADER_PATHS
IECOREGL_SHADER_INCLUDE_PATHS
IECOREGL_TEXTURE_PATHS
IECORE_FONT_PATHS
Used to specify default resource locations for the IECoreGL::Renderer.
IECOREMAYA_DISABLEOUTPUTREDIRECTION
By default all python output and IECore::MessageHandler output are redirected through the appropriate MGlobal::display*() functions, so that they appear in the script editor. Setting this environment variable disables this redirection, causing the messages to appear in the shell.
You can then use the helper functions in IECoreMaya.Menus to build your own site-specific menu structure.