Assign frame-range for each Batch-render-job by their name

Forum for OctaneRender Lua scripting examples, discussion and support.
Post Reply
Tazan
Licensed Customer
Posts: 5
Joined: Wed Feb 22, 2017 5:26 pm

Hello,
I am very new at Lua scripting and I'm not even sure how to apply a script in Octane.. However I would need to automate a Render job with a long list off Renders, see picture bellow:

Image

Names are cyclic in this long list and I would like to know if there is a way (with a script) to set different frame-ranges for each Renders with a given name.

Looking forward for you response(s), best!
User avatar
roeland
OctaneRender Team
Posts: 1822
Joined: Wed Mar 09, 2011 10:09 pm

You can programatically set the first frame and last frame input pins of the individual render jobs before opening the UI. How exactly depends on which type of render job graph you're using, eg. with the built-in Batch Render Job you'll have to find the inputs named "First frame" and "Last frame".

The UI will always show frame number 1 as the first frame but this is a limitation of the UI — this merely indicates it's the first frame rendered by that particular render job. The amounts should correspond to what you set up before.
Post Reply

Return to “Lua Scripting”