AWS Thinkbox Discussion Forums

Deadline Frame Order

Is there a way in which I can make a custom Framerange order submission?

We want to submit our renders to the farm with this being the order of the frames:

  1. First, Middle, and Last frames first
  2. First ten consecutive frames
  3. Then remaining frames in range
  • Optionally support every nth frame.

docs.thinkboxsoftware.com/produ … ng-options

The other question is, do you want to automate this? You could create an OnJobSubmitted event or modify the submission script to handle it.

Which app(s) are you submitting jobs from?

I’d be submitting from 3dsmax. So it would be great if this could be an event. That way we could do it for other applications like Maya

It would be better to probably put this in the job submission rather than an event because I wouldn’t want this to happen on every submission job from 3ds Max

Using Maxscript, how can i set the output framerange to the custom range?

# To render every 10th frame between 1 to 100, then every 5th frame, then every 2nd frame, then fill in the rest, you can specify one of the following: 1-100x10,1-100x5,1-100x2,1-100

You can do this only if you are writing your own JOB files. If you are using SMTDFunctions, you cannot do this in the current builds.
However, the request for this came from another customer a few weeks ago, and I have implemented it internally for SMTD 10.0. I don’t think it has been merged and shipped yet, but I could be wrong.

The option was implemented using new SMTDSettings.UseCustomFrameList and SMTDSettings.CustomFrameList properties.
The former has to be set to True to enable the custom list, the latter defines the arbitrary list of frames, but you must expand it yourself, so the above short-hand notation does not work. The reason is that we need to also support Preview jobs submission, so we need an array of frames to operate on within SMTD.

If you don’t have SMTDSettings.UseCustomFrameList defined in your version, then you don’t have a build that supports custom lists yet.

Once you have the new version, you could do

SMTDSettings.UseCustomFrameList = true SMTDSettings.CustomFrameList=#(rendStart.frame as integer, (rendEnd.frame as integer - rendStart.frame as integer )/2, rendEnd.frame as integer) --first, middle, last for i = rendStart+1 to rendStart+10 do appendIfUnique SMTDSettings.CustomFrameList (i.frame as integer) --first 10 for i = rendStart to rendEnd by 5 do appendIfUnique SMTDSettings.CustomFrameList (i.frame as integer) -- every 5th for i = rendStart to rendEnd do appendIfUnique SMTDSettings.CustomFrameList (i.frame as integer) --all others with PrintAllElements on format "%\n" SMTDSettings.CustomFrameList --show me the result
Result:

--> #(0, 50, 100, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 55, 60, 65, 70, 75, 80, 85, 90, 95, 11, 12, 13, 14, 16, 17, 18, 19, 21, 22, 23, 24, 26, 27, 28, 29, 31, 32, 33, 34, 36, 37, 38, 39, 41, 42, 43, 44, 46, 47, 48, 49, 51, 52, 53, 54, 56, 57, 58, 59, 61, 62, 63, 64, 66, 67, 68, 69, 71, 72, 73, 74, 76, 77, 78, 79, 81, 82, 83, 84, 86, 87, 88, 89, 91, 92, 93, 94, 96, 97, 98, 99)

perfect!
thanks Bobo

I’m creating a submit and job info files as described here: deadline.thinkboxsoftware.com/cu … ubmission/

How do i edit this job info file for submission in order to add my custom frame list? Do just use simple ini methods?

How can I achieve this with the current deadline version 9 that we are using?
If not possible in version 9, how can i do it in version 10, when creating custom job files?

Any help on this one?

Perhaps I misunderstand the question currently, but you just need to know how to define a custom frame range when creating your custom plugin/job info files? If so, all Manual Job Submission KVP’s (Key=Value Pairs) can be seen here:
docs.thinkboxsoftware.com/produ … ml#general

Frames=1-100x10,1-100x5,1-100x2,1-100

docs.thinkboxsoftware.com/produ … ng-options
deadline.thinkboxsoftware.com/fe … ng-options

If you are running Deadline 10.0.3.2, read my post from Sept. 11, it has the necessary info:

forums.thinkboxsoftware.com/vie … 595#p71700

I could give you a modified Deadline 9 version of SubmitMaxToDeadline_Functions.ms that has the same changes, but it would not be standard and any updates to Deadline 9 would overwrite the changes, so I would rather stay with 10.

For Nuke I do this through the Custom Sanity Checks…

does that not work for max?

Privacy | Site terms | Cookie preferences