Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adding extra output modules in AE script

Engaged ,
Oct 17, 2010 Oct 17, 2010

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

TOPICS
Scripting
3.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 17, 2010 Oct 17, 2010

This is the key:

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

Dan

Translate
Community Expert ,
Oct 17, 2010 Oct 17, 2010

This is the key:

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

Dan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 17, 2010 Oct 17, 2010
LATEST

Thanks Dan, you beat me to it!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 17, 2010 Oct 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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines