Copy link to clipboard
Copied
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 is the key:
myRQItem.outputModules.add();
myOM = myRQItem.outputModule(2);
myOM.applyTemplate(myOutputModule2);
Dan
Copy link to clipboard
Copied
This is the key:
myRQItem.outputModules.add();
myOM = myRQItem.outputModule(2);
myOM.applyTemplate(myOutputModule2);
Dan
Copy link to clipboard
Copied
Thanks Dan, you beat me to it!
Copy link to clipboard
Copied
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!