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

Can set work area based on the selected layer's in & out with Automation Blocks?

Explorer ,
Jun 23, 2022 Jun 23, 2022

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? 

 

Screen Shot 2022-06-23 at 14.14.15.png

TOPICS
Scripting

Views

271

Translate

Translate

Report

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 , Jun 23, 2022 Jun 23, 2022

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:

Screenshot 2022-06-23 at 21.10.44.png

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:
Screenshot 2022-06-23 at 21.15.31.png

I added both those block scripts to out community library now - here are th

...

Votes

Translate

Translate
Adobe Employee ,
Jun 23, 2022 Jun 23, 2022

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.

 

Trim comp.png

 

Thanks,

Ishan

Votes

Translate

Translate

Report

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
Explorer ,
Jun 23, 2022 Jun 23, 2022

Copy link to clipboard

Copied

Thank you, Ishan.

I need for choose the render area for multiple layers without changing the comp duration.

Votes

Translate

Translate

Report

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
Community Expert ,
Jun 23, 2022 Jun 23, 2022

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:

Screenshot 2022-06-23 at 21.10.44.png

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:
Screenshot 2022-06-23 at 21.15.31.png

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

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

Votes

Translate

Translate

Report

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
Community Expert ,
Jun 23, 2022 Jun 23, 2022

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.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

Votes

Translate

Translate

Report

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
Explorer ,
Jun 23, 2022 Jun 23, 2022

Copy link to clipboard

Copied

LATEST

Thank you @Mathias Moehl, it works perfectly. 

Votes

Translate

Translate

Report

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