Rez env for vray example
py
def commands(env, root):
env.MAYA_RENDER_DESC_PATH.set(r"C:\VFM\maya_vray\renderDesc")
env.VRAY_FOR_MAYA2022_MAIN.set(r"C:\VFM\maya_vray")
env.VRAY_FOR_MAYA2022_PLUGINS.set(r"C:\VFM\maya_vray\vrayplugins")
env.VRAY_PLUGINS.set(r"C:\VFM\maya_vray\vrayplugins")
env.VRAY_OSL_PATH_MAYA2022.set(r"C:\VFM\maya_vray\opensl")
env.PATH.append(r"C:\VFM\maya_vray\bin\hostbin")
env.PATH.append(r"C:\VFM\maya_vray\bin")
env.MAYA_PLUG_IN_PATH.append(r"C:\VFM\maya_vray\plug-ins")
env.MAYA_SCRIPT_PATH.append(r"C:\VFM\maya_vray\scripts")
env.MAYA_PRESET_PATH.append(r"C:\VFM\maya_vray\presets")
env.PYTHONPATH.append(r"C:\VFM\maya_vray\scripts")
env.PYTHXBMLANGPATHONPATH.append(r"C:\VFM\maya_vray\icons")
env.MAYA_CUSTOM_TEMPLATE_PATH.append(r"C:\VFM\maya_vray\scripts")
env.MAYA_TOOLCLIPS_PATH.set(r"C:\VFM\maya_vray\toolclips")
env.PXR_PLUGINPATH_NAME.append(r"C:\VFM\maya_vray\usdplugins")
env.VRAY_APPSDK_PLUGINS.set(r"C:\VFM\maya_vray\vrayplugins")