Skip to main content
Inspiring
October 17, 2010
Answered

Adding extra output modules in AE script

  • October 17, 2010
  • 2 replies
  • 3107 views

Hi,

Is it possible to add extra output modules to a render queue item using an AE script? I can't seem to find the functionality in the guide, and OMCollection is read-only so I can't add using standard array functions.

I need additional output modules on each render queue item to render plates for my CG department - for example the default output module will be assigned a full-resolution TIFF sequence for the camera tracker, and the second output module will be assigned a half-resolution JPEG sequence for the animation team.

If this functionality isn't included, would someone please explain why?

I'm developing at home in CS3 at the moment, but the target version is CS5 at work - I've not rechecked the release notes yet but don't recall this being added after CS3.

Many thanks, Christian

This topic has been closed for replies.
Correct answer Dan Ebberts

This is the key:

myRQItem.outputModules.add();
myOM = myRQItem.outputModule(2);
myOM.applyTemplate(myOutputModule2);

Dan

2 replies

Inspiring
October 17, 2010

Hi,

Found the answer at http://aenhancers.com/viewtopic.php?f=8&t=1290

The add() function is listed on page 186 of the guide in the summary, but is not listed as being one of OMCollection's functions on page 104 (in fact it says that there are no functions for OMCollection above what it inherits from Collection.

Cheers!

Dan Ebberts
Community Expert
Dan EbbertsCommunity ExpertCorrect answer
Community Expert
October 17, 2010

This is the key:

myRQItem.outputModules.add();
myOM = myRQItem.outputModule(2);
myOM.applyTemplate(myOutputModule2);

Dan

Inspiring
October 17, 2010

Thanks Dan, you beat me to it!