Is there a way to check if a specific template is applied to Render Settings in the queue? I can see that we can applyTemplate and saveAsTemplate but I don't see anything to get or check the name of the template.
Or is there a way to see if "Skip existing files" is enabled in the Render Settings window?
Render Settings template
Moderator: Paul Tuersley
Sadly, no. I'm dealing with this issue right now myself. I've already put in my feature request for it too.Is there a way to check if a specific template is applied to Render Settings in the queue?
https://www.adobe.com/cfusion/mmform/in ... e=wishform
app.project.renderQueue.item(index).skipFramesOr is there a way to see if "Skip existing files" is enabled in the Render Settings window?
It will tell you how many frames are being skipped, so if you do a simple if/else statement you can check to see if it's on or not like so...
Code: Select all
var skip=app.project.renderQueue.item(index).skipFrames;
If(skip==0){
alert("Skip is off.");
}else{
alert("Skip is on.");
}
David Torno
https://vimeo.com/davidtorno (work samples & breakdowns)
https://gumroad.com/davidtorno
http://provideocoalition.com/dtorno (tutorials)
https://vimeo.com/davidtorno (work samples & breakdowns)
https://gumroad.com/davidtorno
http://provideocoalition.com/dtorno (tutorials)
- lloydalvarez
- Enhancement master
- Posts: 460
- Joined: June 17th, 2004, 9:27 am
- Location: New York City, NY
- Contact:
I don't think that is the same thing. I think app.project.renderQueue.item(index).skipFrames is a feature that is not exposed in the UI that allows you render every nth frame which is not the same thing as the "Skip Existing Frame" feature in the render settings. Here's the description from the scripting guide:vfxman wrote:app.project.renderQueue.item(index).skipFramesOr is there a way to see if "Skip existing files" is enabled in the Render Settings window?
It will tell you how many frames are being skipped, so if you do a simple if/else statement you can check to see if it's on or not like so...Code: Select all
var skip=app.project.renderQueue.item(index).skipFrames; If(skip==0){ alert("Skip is off."); }else{ alert("Skip is on."); }
RenderQueueItem skipFrames attribute
app.project.renderQueue.item(index).skipFrames
Description
The number of frames to skip when rendering this item. Use this to do rendering tests that are faster than a full render.
A value of 0 skip no frames, and results in regular rendering of all frames. A value of 1 skips every other frame. This is equivalent to "rendering on twos." Higher values skip a larger number of frames.
The total length of time remains unchanged. For example, if skip has a value of 1, a sequence output would have half the number of frames and in movie output, each frame would be double the duration.
Trust, I would love for you to be right as BG Renderer would benefit hugely from knowing the status of the "Skip Existing Frames" setting but unfortunately this is not it.
Lloyd