EXR_Pipeline
Posted: July 6th, 2016, 4:50 pm
Hey Everyone,
In advance, I am relatively new to the scripting game.
So far, I am attempting to create a script to help me automate my EXR pipeline.
I am wondering if there is a way to access the "Channel Information" within the "EXtractoR" effect.
As of right now, I have created a script to take the selected EXR files and place them into a composition. I then have the layers imported and the EXtractoR effect applied.
I am trying to set the attributes within the "Channel Information" section of the effect to search for the correct index. EX: Red Channel to find the ".R" selection. Do you know if/how I could achieve this?
Here is the script I have so far.
///////////////EXR PIPELINE SCRIPT///////////////
var selectedItems = app.project.selection;
for (var i=0; i < selectedItems.length; i++) {
var myComp = app.project.items.addComp(selectedItems.name.substring (1, selectedItems.name.length-16), selectedItems.width, selectedItems.height, selectedItems.pixelAspect, selectedItems.duration, selectedItems.frameRate);
var myLayer= myComp.layers.add(selectedItems)
myLayer.property("Effects").addProperty("Extractor");
}
Thank you for your time!
In advance, I am relatively new to the scripting game.
So far, I am attempting to create a script to help me automate my EXR pipeline.
I am wondering if there is a way to access the "Channel Information" within the "EXtractoR" effect.
As of right now, I have created a script to take the selected EXR files and place them into a composition. I then have the layers imported and the EXtractoR effect applied.
I am trying to set the attributes within the "Channel Information" section of the effect to search for the correct index. EX: Red Channel to find the ".R" selection. Do you know if/how I could achieve this?
Here is the script I have so far.
///////////////EXR PIPELINE SCRIPT///////////////
var selectedItems = app.project.selection;
for (var i=0; i < selectedItems.length; i++) {
var myComp = app.project.items.addComp(selectedItems.name.substring (1, selectedItems.name.length-16), selectedItems.width, selectedItems.height, selectedItems.pixelAspect, selectedItems.duration, selectedItems.frameRate);
var myLayer= myComp.layers.add(selectedItems)
myLayer.property("Effects").addProperty("Extractor");
}
Thank you for your time!