Maya and ARNOLD_PLUGIN_PATH

Maya and ARNOLD_PLUGIN_PATH

Anonymous
Not applicable
2,325 Views
2 Replies
Message 1 of 3

Maya and ARNOLD_PLUGIN_PATH

Anonymous
Not applicable

Hi,

i made a *.bat file to launch Maya with the right settings and environments, but i have an issue with ARNOLD_PLUGIN_PATH.

in my bat file i have this :

set

set "ARNOLD_PLUGIN_PATH =C:/modules\Arnold\mtoadeploy\2017\shaders;C:/\modules\Yeti\2017\bin"

start "C:\Program Files\Autodesk\Maya2017\bin\maya.exe"

But when maya is opened and i print the ARNOLD_PLUGIN_PATH variable it returns this :

C:/modules/Arnold/mtoadeploy/2017/shaders

C:/modules/Arnold/mtoadeploy/2017/procedurals

I think the mtoa.mll plugin overwrites the variable completly when it loads (if i dont load it the variable stays as i set it).

So when i want tu use Yeti with arnold it does not work.

BTW, it works if i use Maya.env file or if i set the variable in windows directly, but i would like to avoid those solutions.

What do you think? 🙂

Thanks

Soal

0 Likes
Accepted solutions (1)
2,326 Views
2 Replies
Replies (2)
Message 2 of 3

Stephen.Blair
Community Manager
Community Manager
Accepted solution

Remove the space before the equal sign

set "ARNOLD_PLUGIN_PATH =C:/modules\Arnold\mtoadeploy\2017\shaders;C:/\modules\Yeti\2017\bin"


// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 3

Anonymous
Not applicable

Thanks a lot! it works.

Didn't know spaces mattered 🙂

0 Likes