Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How to retrieve index of the effect?

  • Dan Ebberts

    May 25, 2009 at 7:50 pm

    Do you mean retrieve it with an expression applied to that effect? If so, yes – but it can be a bit tricky. Use propertyGroup() to move up through the property groups until you get to the effect itself.

    For example, to get the Numbers effect to display it’s own effect index you could use this expression:

    thisProperty.propertyGroup(1).propertyIndex

    propertyGroup(1) moves up one level from the propety the expression lives in, propertyGroup(2) moves up two levels, and so on. Hope that helps.

    Dan

  • Satya Meka

    May 25, 2009 at 8:05 pm

    Awesome! So we can get the index of anything with respect to its property group, by applying the expression to its child parameter. Thank you so much, it helps a lot.

    regards,
    Satya Meka.

    Satya Meka,
    https://www.gutsblow.com

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy