Hello, thank you for accepting me.
I have a question regarding Deadline and the PostLoadScript.
You see, right now, we have different render passes with VRay for 3dsMax.
Each pass is sent as a different job, and they all use the same base MaxFile.
Since each pass needs to have a specific configuration, hide specific geometry and such, it was decided that each job would have configuration information in the job info parameters. However, when I try to access this information through the GetJobInfoEntry in my PostLoadScript, I always get an undefined value.
Is this the function I have to use to read this information?
Is there another function to do it?
Am I doing something wrong?
Let me show you an example of what I have:
JobInfoParameters:
Name=Scripted Job
UserName=baz
*etc*
PostLoadScript
[code](
local du = DeadlineUtil
if du == undefined then
(
struct DeadlineUtilsStruct
(
fn SetTitle title = (format “Title: %\n” title),
fn SetProgress percent = (true),
fn FailRender msg = (throw msg),
fn GetJobInfoEntry key = ( undefined ),
fn GetAuxFilename index = ( undefined ),
fn LogMessage msg = ( format “%\n” msg ),
CurrentFrame = ((sliderTime as string) as integer)
)
du = DeadlineUtilStruct()
)
else
(
du.LogMessage(">>> NAME OF THE JOB")
du.LogMessage(du.GetJobInfoEntry “Name” as string)
)
true
)[/code]
Thank you for your time