Trimming selected layers by keyframes, markers, etc. with Automation Blocks?

Community Beginner ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

Hello, is it possible to trim the in, out, or both points of selected layers? Trimming by keyframes, markers, mattes, parent chains, selected layers, and visibility.

Thank you

TOPICS
Scripting

Views

394

Likes

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 , Jul 16, 2022 Jul 16, 2022

That's a great idea!

I just implemented a tool which sets in and out points based on the visibility of the layers.

To figure out, if a layer is visible it

1. checks if the bounding box is inside the comp or entirely outside (only for 2D layers)

2. checks if the scale does not equal 0

3. checks if the opacity does not equal 0

 

I recorded this quick demo video for you:

Likes

Translate

Translate
Community Expert ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

That's a great idea!

I just implemented a tool which sets in and out points based on the visibility of the layers.

To figure out, if a layer is visible it

1. checks if the bounding box is inside the comp or entirely outside (only for 2D layers)

2. checks if the scale does not equal 0

3. checks if the opacity does not equal 0

 

I recorded this quick demo video for you:

Likes

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 Beginner ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

Very exciting and unique feature, thank you.

Likes

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 ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

I implemented a second one now, which

- sets the in point to the first keyframe or marker, which it can find on the layer

- sets the out point to the last keyframe or marker which it can find on the layer

Likes

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 Beginner ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

LATEST

Thank you so much

Likes

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