ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

quantity of effects in a layer

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Rafael Braz
quantity of effects in a layer
on Oct 30, 2019 at 6:00:33 pm

Is there a way to get a value of how many effects are applied on a layer?
Like as in thisComp.numLayers or thisLayer.numKeys.
If it's possible I guess it's probably a workaround.
I thought maybe using the 'loop for' or try and catch but I couldn't figure it out.

thanks in advance!


Return to posts index

Dan Ebberts
Re: quantity of effects in a layer
on Oct 30, 2019 at 6:09:31 pm

This should work:

thisComp.layer("Layer 1")("Effects").numProperties


Dan



Return to posts index

Rafael Braz
Re: quantity of effects in a layer
on Oct 31, 2019 at 12:26:22 pm

hey, dan.
thanks a lot for your answer.
for some reason I didn't receive notifications about this post so I just saw it now.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]