Skip to content

Env for Mtoa

Tested with rez with mtoa 5.3.2.1

python

root_folder = r"C:\MTOA\maya2022"
PATH.prepend(fr"{root_folder}\bin")
PYTHONPATH.prepend(fr"{root_folder}\scripts")

MAYA_PLUG_IN_PATH.prepend(fr"{root_folder}\plug-ins")
MAYA_SCRIPT_PATH.prepend(fr"{root_folder}\scripts\mtoa\mel")
MAYA_CUSTOM_TEMPLATE_PATH.prepend(fr"{root_folder}\scripts\mtoa\ui\templates")
MAYA_RENDER_DESC_PATH.prepend(root_folder)
ARNOLD_PLUGIN_PATH.prepend(fr"{root_folder}\shaders")