SetJobFramesPerTask

Help…! I’m doing a bit of scripting and was looking for job.SetJobFramesPerTask in order to control this attribute upon submission. What’s the best way of doing this. I’m aware of the job.JobFramesPerTask function for getting the current setting but want to be able to inject my own. Thanks.

I should add that i can’t find any mention of a way to do this in the scripting documentation.

~Cameron

Hi Cameron,

Currently, the only way to do this is by using “deadlinecommand.exe -SetJobFrameRange”:

However, you can build up command line arguments and then call ClientUtils.ExecuteCommand to run that command:
thinkboxsoftware.com/deadlin … _Utilities

For examples of ClientUtils.ExecuteCommand, just look at any of the submission scripts for the Monitor in \your\repository\scripts\Submission.

Hope this helps!

  • Ryan