What is the best way to have a python script executed before a 3ds Max job begins on the farm? The reason for this, is so we can ensure that we have some additional plugins installed prior to the job starting.
Is this possible to do and how?
What is the best way to have a python script executed before a 3ds Max job begins on the farm? The reason for this, is so we can ensure that we have some additional plugins installed prior to the job starting.
Is this possible to do and how?
JobPreload or PluginPreLoad depending on what you need to do. See docs for detailed explanation:
https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/application-plugins.html#jobpreload-py
This might be of interest as well: https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/event-plugins.html#software-configuration-management-integration
From within the deadline plugin JobPreLoad.py how can i get the information that tells me what version of the 3ds max is being used to render?
Referencing this example in our docs and our Scripting API docs:
https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/application-plugins.html#jobpreload-py
from System import *
from System.IO import *
def __main__( deadlinePlugin ):
job = deadlinePlugin.GetJob()
deadlinePlugin.LogInfo( "JobName: %s" % job.JobName )
deadlinePlugin.LogInfo( "Version: %s" % job.GetJobPluginInfoKeyValue( "Version" ) )