AWS Thinkbox Discussion Forums

CommandLine: Passing per task frame range?

Hello,
I have a Commandline Job which is rendering a nuke script job to which I’m passing several arguments. As part of the script, it executes a write node at the end. I’d like this write node’s frame range to use the actual tasks frame range…but not sure if this is possible.

The full job range is from 1001-1100. I’m chunking in frames of 10.

My original command is this…but it renders the whole sequence: 1001-1100 for each task.

nuke -V 2 --sro -t /filepath/nukescript.py filepath/nuketemplate.nk --infile=inrender.####.exr --outfile=outrender.####.png --framefirst=1001 --framelast=1100 --argument1=blah --argument2=blahblah

I tried not specifying any start or end frame, but it still renders the entire sequence for each task.
I realize that there is a way to fork the actual nuke plugin to accommodate passing arbitrary arguments, but I’d rather stick to the commandline submission or user the standard nuke plugin if possible.

Hoping I’m missing something simple ;).
Thanks!
-Jake

Figured this one out.

When initially Submitting the job using -SubmitMultipleJobs,
I can pass <STARTFRAME> and <ENDFRAME> in the arguments and the commandline plugin will interpret these when picking up the individual tasks.

nuke -V 2 --sro -t /filepath/nukescript.py filepath/nuketemplate.nk --infile=inrender.####.exr --outfile=outrender.####.png --framefirst=<STARTFRAME> --framelast=<ENDFRAME> --argument1=blah --argument2=blahblah

https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/manual-submission.html#arbitrary-command-line-jobs

1 Like
Privacy | Site terms | Cookie preferences