AWS Thinkbox Discussion Forums

PreJob Scrript for 3ds Max Plugin setup

We are using a Launcher for 3ds Max which builds based on environment variables a configuration to sync and load all the required Plugins for the current session.

This also needs to be executed on the rendernode. We tried all the different scripts which Deadline is offering, but none of them is really working.

The pre-job and pre-task scripts in the job properties cannot be used since they are either not executed on the same rendernode or immediately before the render process starts when 3ds Max is already running.

I figured out that the JobPreLoad.py for the Plugin does the job pretty much, but since the environment variables are set in the session of the slave they are sticky from job to job.

Is there another possibility to handle this or do I have to find a workaround?

Any help is highly appreciated! Thank you!

Hey Christian,

In Deadline 6, you can set environment variables for the job that are only applied at render time, and do NOT persist between jobs:
thinkboxsoftware.com/deadlin … _Variables

Would this do the trick?

Cheers,

  • Ryan

Hi Ryan,

thank you for your answer. I will give it a try.

-Christian

Privacy | Site terms | Cookie preferences