You could modify the 3dsmax submission script to inject the scene’s width and height as one or two ExtraInfo properties when submitting the job to Deadline. It requires modifying the out-of-the-box submitters, but the code you would have to write would be fairly straightforward. For example, in the CreateSubmitInfoFile function in \your\repository\submission\3dsmax\SubmitMaxToDeadline_Functions.ms, you could just add this line at the top:
SMTDSettings.ExtraInfo0 = (renderWidth as string) + "x" + (renderHeight as string)
Turns out the code I posted would only work with Deadline 5.1, which was released on Wednesday this week. This should work for 5.0:
fn CreateSubmitInfoFile filename customPlugin: customOutputFile: includeBothOutputs:false frameMode:#both customFrameSequence:"" =
(
local formattedJobName = (SMTDFunctions.FormatJobName SMTDSettings.JobName)
local formattedComment = (SMTDFunctions.FormatComment SMTDSettings.Comment)
local submitInfoFile = CreateFile filename
if (submitInfoFile != undefined) then
(
format "ExtraInfo0=%\n" ((renderWidth as string) + "x" + (renderHeight as string) ) to:submitInfoFile
--tons of other code here...
)
else
false
),
I updated the CreateSubmitInfoFile function in \your\repository\submission\3dsmax\SubmitMaxToDeadline_Functions.ms to include the render size in the ExtraInfo0 as mentioned above.
I get this to work on submission of 3dsmax files, and it shows up under the Jobs Panel in Monitor. I have also gone into Monitor as a SuperUser and changed the Options of Job Settings --> Extra Properties --> Extra Info 0 Name to “Render Size”
However, neither the render size, nor the change to the ExtraInfo0 Name Change show up under the Slaves Panel? This Field still remains “ExtraInfo0”. Why is that?
The SMTD ExtraInfo settings inject into the JobExtraInfo 0-9 fields and not the more recently introduced SlaveExtraInfo fields 0-9. The JobExtraInfo fields are meant to be for Job-centric information whilst the SlaveExtraInfo fields are for Slave/machine centric information. So your custom information would be displayed in the “Job Panel” and not the “Slave Panel”.