3ds Max Submission - Delay Slave

Hey all, hope you are doing well!

I am reaching out to ask how to add an Asset Dependency for jobs sent via 3dsMax submitter.

Specifically I think I am looking for a way to add the following :

  • RequiredAssets=<assetPath,assetPath,assetPath> : Specifies what asset files must exist before this job will resume (default = blank). These asset paths must be identified using full paths, and multiple paths can be separated with commas. If using frame dependencies, you can replace padding in a sequence with the ‘#’ characters, and a task for the job will only be resumed when the required assets for the task’s frame exist.

and make our remote workers wait till the .max scene has been synced to their local server.

Any help will be appreciated, thank you in advance!

Hello @sofi

Thanks for reaching out. I looked at the submissions scripts (I do not have scripting skills in Max) I think this option could be added to the part of script where it is creating the JobInfoFile. In Deadline 10.1.23.6 it is on line#10995 like below:

-- Create job info file
				local jobInfoFile = CreateFile jobInfoFilename encoding:#utf8 writeBOM:true
				if (jobInfoFile != undefined) then
				(
					format "Plugin=JobTransfer\n"										to:jobInfoFile
					format "Name=%\n" 						transferJobName				to:jobInfoFile
					format "BatchName=%\n" 					SMTDSettings.JobName		to:jobInfoFile
					format "UserName=%\n"					SMTDSettings.UserName		to:jobInfoFile
					format "Department=%\n" 				transferDepartment		 	to:jobInfoFile
					format "Pool=%\n" 						transferPool				to:jobInfoFile
					format "Group=%\n" 						transferGroup				to:jobInfoFile
					format "Priority=%\n" 					transferPriority 	 		to:jobInfoFile
					format "Frames=0\n"													to:jobInfoFile
					format "ChunkSize=1\n" 												to:jobInfoFile
					if transferDeleteOnComplete do
						format "OnJobComplete=Delete\n"									to:jobInfoFile

You can open a new line here and add something like RequiredAssets=<scene’s_comma_separated_paths>

Or you can use this option in SMTD: (see the mouse pointer)