Copy link to clipboard
Copied
Hi, I want to create a set work area based on the selected layer's in & out.
Can you help me create with Automation Blocks?
Hi,
if you only have a single selected layer in the active comp, then setting the workarea to its in-out range with Automation Blocks is as easy as this:
If you have multiple selected layers and want the workarea to include exactly all their in- to out ranges, then you have to first retrieve the in and out points of all of them and then use the minimum of the in points and the maximum of the out points for the workarea:
I added both those block scripts to out community library now - here are th
...Copy link to clipboard
Copied
Hey Poly22822264t1ta,
Are you trying to isolate the composition duration to your in and out points? If so, have you tried using the Trim comp to Work Area feature? Click between the in and out points in the work area , as shown in the screenshot. Let us know how it goes.
Thanks,
Ishan
Copy link to clipboard
Copied
Thank you, Ishan.
I need for choose the render area for multiple layers without changing the comp duration.
Copy link to clipboard
Copied
Hi,
if you only have a single selected layer in the active comp, then setting the workarea to its in-out range with Automation Blocks is as easy as this:
If you have multiple selected layers and want the workarea to include exactly all their in- to out ranges, then you have to first retrieve the in and out points of all of them and then use the minimum of the in points and the maximum of the out points for the workarea:
I added both those block scripts to out community library now - here are the direct links:
- Set Workarea to Only Selected Layer Script
- Set Workarea to All Selected Layers Script
Copy link to clipboard
Copied
... and since you mentioned that you want to set the work area in order to render the comp after that:
To add the comp to the render queue, just append the Add To Ae Render Queue block to any of the two scripts above to automate that part, too.
Copy link to clipboard
Copied
Thank you @Mathias Moehl, it works perfectly.