AWS Thinkbox Discussion Forums

How are Asset dependencies initialized in a script?

Hi

I’m trying to create a script where when a job is submitted to deadline, the job does not start until it checks if the assets of the job submitted are present in the root directory.

Now, from my understanding (please correct me if I’m wrong) I have created an event plugin which instantiates OnJobSubmitted and adds it’s asset dependency.

Now, if the above logic is correct, do asset dependencies need a path to each individual asset ‘file’ or is deadline smart enough to run a check in a folder containing all assets for the job?

It needs an asset dependency path for each file that is needed.

1 Like

https://docs.thinkboxsoftware.com/products/deadline/10.1/2_Scripting%20Reference/class_deadline_1_1_jobs_1_1_asset_dependency.html

Deadline.Jobs.AssetDependency.FileName
Deadline.Jobs.AssetDependency.FrameString

2 Likes
Privacy | Site terms | Cookie preferences