Skip to main content
m1jackson
Inspiring
Oct 13, 2024 6:49 PM UTC
Answered

Automation Blocks - Check for effect

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.

This topic is closed to new replies. Start a new post to keep the conversation going.
Mathias Moehl
Mathias MoehlCorrect answer
Community Expert
Oct 14, 2024 11:25 AM UTC

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:

 

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

1 reply

Mathias Moehl
Community Expert
Mathias MoehlCommunity ExpertCorrect answer
Community Expert
Oct 14, 2024 11:25 AM UTC

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:

 

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