AWS Thinkbox Discussion Forums

Deadline 6 Beta - pass Maya environment vars to MayaBatch pl

Hello,

Our Maya configuration involves a custom path to a number of third-party plugins that we need to use as part of our scene renders. We set the MAYA_PLUG_IN_PATH environment variable as part of our usual Maya start-up process. Is there a way to pass this same value to Deadline, when starting up a render job via the MayaBatch plugin? Currently, my render jobs will complete but a number of scene elements will be missing from the final images.

From the slave logs, the following error is given:

0: STDOUT: Error: file: Z:/Some/Path/Here/myScene.ma line 123: RuntimeError: file line 1: Plug-in, “myPlugin.mll”, was not found on MAYA_PLUG_IN_PATH.

So it looks like Deadline is not picking up this custom path value. The DL 5 docs mention that we can specify any number of additional properties in our info file, however I’m not sure if this is will work for me:

thinkboxsoftware.com/deadlin … o_Deadline

i.e.
ExtraInfoKeyValue0=<key=value>
ExtraInfoKeyValue1=<key=value>
ExtraInfoKeyValue2=<key=value>
ExtraInfoKeyValue3=<key=value>

Thanks lots!

Parmjit V.
Software Developer

You can set job environment variable properties in the job info file, and these variables will be applied at render time. See the Job Environment Variables section in the release notes here:
viewtopic.php?f=84&t=8866

For example, you could add this to the job info file:

EnvironmentKeyValue0=MAYA_PLUG_IN_PATH=Z:/Some/Plugin/Path

Cheers,

  • Ryan

… Yep, that did the trick alright. Thank you!

Parmjit

Privacy | Site terms | Cookie preferences