Environment variable in plugin search path

Hi everybody,

I am setting up Deadline and want to edit the default paths in the Configure Plugins section. We are using a path that looks like %MAYA_LOCATION%/bin/Render.exe. Is there a way I can have the ‘%MAYA_LOCATION%/bin/Render.exe’ path in the Render executable path list? I am setting the env vars via a pre-task Python script.

Then your render plugin would have to expand env vars in its RenderExecutable method.
Since the configured executables are a list, you would have to expand all entries. The plugin checks for the path’s existence, so this should happen beforehand.

Thanks for the reply, Mois. Where do I look for my Plug-in? In <Repository_Folder>/plugins ?

Yes. There is a parallel directory under <repository>/custom/plugins where it is recommended to keep any overridden plugins.