I’ve got a couple of different sets of questions about job and frame dependencies.
First, I have a Python dependency script that allows me to create job dependencies between different Deadline repositories, and I’d like to add support for the frame dependency offset values for completeness. However, from what I’ve been able to find, the behavior of the FrameDependencyOffsetStart/End job settings aren’t documented very well anywhere. I have two questions about these values:
- The Start value partially makes sense, except that the direction in which it is applied is unclear: Does a value of 1000 make frame 1001 of the job depend on frame 1 or 2001 of its dependencies?
- Can someone explain what purpose the OffsetEnd parameter serves, and give an example of its behavior?
Second, is it possible to change the override settings for individual dependencies, either at submission via the JobInfo, or using the API? All of the job-dependency-related properties on the Job object seem to be top-level only…
Finally, for script dependencies, since I can get an array of ScriptDependency objects, will something like this be enough to apply changes to them?
job = RepositoryUtils.GetJob(jobid, True)
for dep in job.JobScriptDependencies:
dep.Notes = 'here are some notes'
RepositoryUtils.SaveJob(job)
Or is there more I need to do?
Thanks.