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!