FORUMS: list search recent posts

Layers count

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Xaver Cendar
Layers count
on Mar 8, 2014 at 1:58:56 pm

Hi,
I would like to make an info layout around my comp. The info I need there is shot number. I can make one shot one layer. Is there any expression or plugin to make it happen?

Thanks for your help


Return to posts index

Dan Ebberts
Re: Layers count
on Mar 8, 2014 at 4:46:03 pm

It sounds like you might need a variation of this:

http://www.motionscript.com/design-guide/source-name.html

Something like this would display the index of the topmost currently-visible layer:


txt = "";
for (i = 1; i <= thisComp.numLayers; i++){
if (i == index) continue;
L = thisComp.layer(i);
if (! (L.hasVideo && L.active)) continue;
txt = L.index;
break;
}
txt



Dan



Return to posts index

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