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

Forums: Assign frame-range for each Batch-render-job by their name
Forum for OctaneRender Lua scripting examples, discussion and support.

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

Postby Tazan » Thu Apr 26, 2018 3:43 pm

Tazan Thu Apr 26, 2018 3:43 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!
Tazan
Licensed Customer
Licensed Customer
 
Posts: 5
Joined: Wed Feb 22, 2017 5:26 pm

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

Postby roeland » Fri May 25, 2018 6:06 am

roeland Fri May 25, 2018 6:06 am
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.
User avatar
roeland
OctaneRender Team
OctaneRender Team
 
Posts: 1700
Joined: Wed Mar 09, 2011 10:09 pm

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 1 guest

Wed Dec 12, 2018 11:18 pm [ UTC ]