FORUMS: list search recent posts

Change Render Settings in a Script

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Geoff Rights
Change Render Settings in a Script
on Aug 11, 2016 at 8:46:58 pm

Hey All,

I was able to create an item for the render queue using this syntax:

var renderItem = currentProject.renderQueue.items.add(currentComp);

How do I access the render settings of that render item and change the resolution output of the render to a third? I haven't had any of these work:

renderItem.resolutionFactor = [.33,.33];
renderItem.renderSettings[1].resolutionFactor = [.33, .33];
renderItem.renderSettings.resolutionFactor = [.33,.33];

Thanks for any help.


Return to posts index

Walter Soyka
Re: Change Render Settings in a Script
on Aug 12, 2016 at 12:16:44 am

Access to render settings works way differently than you might expect. See "scripting access to render settings and output module settings" on this page for some code examples:
https://blogs.adobe.com/creativecloud/new-changed-after-effects-cc-2014/?se...

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

Geoff Rights
Re: Change Render Settings in a Script
on Aug 12, 2016 at 12:56:45 pm

Thanks Walter. This read helped a lot.


Return to posts index


Walter Soyka
Re: Change Render Settings in a Script
on Aug 12, 2016 at 1:01:28 pm

Cheers, Geoff. Before this scripting feature was added, I used to manually build templates and distribute them to the team, then use scripting to set them as needed. That may be another option for you.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]