ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Using layers source name ?

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Kudos
Dan Ebberts
Re: Using layers source name ?
on Sep 1, 2014 at 4:57:55 pm

You can get a layer's source name (if it has one) like this:

thisComp.layer("1").source.name

An expression can only access another comp by name, so no, there's no way for an expression to access the outer comp, then get its name.


Dan



Posts IndexRead Thread 


Current Message Thread:
  • Using layers source name ? by Anders Hattne on Sep 1, 2014 at 4:18:59 pm
    • Re: Using layers source name ? by Dan Ebberts on Sep 1, 2014 at 4:57:55 pm





© 2019 CreativeCOW.net All Rights Reserved
[TOP]