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

Automation Blocks - Check for effect

Contributor ,
Oct 13, 2024 Oct 13, 2024

Copy link to clipboard

Copied

I'm looking to see if a layer has an effect, and if not apply it.

 

How to do check if a layer in a comp has a specific effect applied i.e. "camera lens blur", and if it's not there, apply it with specific values?

 

Alternately, if the effect is applied, change the value to a desired value? (I think, I can figure this part out once the first part is answered, but this is where I'm headed)

 

As always, thanks for your input.

TOPICS
How to , Scripting

Views

65

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 , Oct 14, 2024 Oct 14, 2024

To check if a clip has a particular effect applied to it, you could try to get a param of that clip and check if the result is null (make sure to set the option to "return no value" if clip does not have this param).

Here is a quick test I did with testing if the first clip in V1 contains a Gaussian Blur:

Screenshot 2024-10-14 at 13.23.19.png

 

Votes

Translate

Translate
Community Expert ,
Oct 14, 2024 Oct 14, 2024

Copy link to clipboard

Copied

LATEST

To check if a clip has a particular effect applied to it, you could try to get a param of that clip and check if the result is null (make sure to set the option to "return no value" if clip does not have this param).

Here is a quick test I did with testing if the first clip in V1 contains a Gaussian Blur:

Screenshot 2024-10-14 at 13.23.19.png

 

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