Maya module
Maya modules are self contained Maya environments. Enable easy distribution with relative paths in the module config.
They can:
- modify environment variables:
- custom maya plugin paths
- custom site packages paths
- …
- vendoring assets:
Startup¶
usersetup¶
If you have a maya module, it can have its own usersetup file (mel or python) that should excute after the main ones
load / unload¶
An undocumented feature
MODULENAME_load.py
runs on startup.
it bypasses checksum on startup.
you can also run a _unload
? how is this hooked up.
This was added to support the Autodesk exchange store, see Distributing plug-ins & files on Maya (and 3ds Max) - 2013
Disable modules¶
This module manager let’s you disable modules. A restart is needed, and files on your disk will be modified, which might be an issue for source controls on team projects.
Backlinks¶
- Maya plugin
- Plugins can be enabled or disabled per user, letting you toggle the startup code more easily compared to Maya modules.
- You could instead use a Maya module to vendor multiple Maya plugins or python packages.
- Maya run on startup