FORUMS: list search recent posts

Comp duplicate - Converting comp name in expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Igor Stikic
Comp duplicate - Converting comp name in expression
on Apr 16, 2014 at 1:12:35 pm

Hi,

I have comp 03 PROFILE in which I have COMP 2. I have expression on it.


When I duplicate comp 03 PROFILE and get the 03 PROFILE 2, expression stay the same and I want to part ("03 PROFILE") changes in ("03 PROFILE 2") Is that possible?

Thanx

time+comp("03 PROFILE").layer("MANIPULATION").effect("time")("Slider")


Return to posts index

Dan Ebberts
Re: Comp duplicate - Converting comp name in expression
on Apr 16, 2014 at 5:44:07 pm

Is Comp 2 a layer in 03 PROFILE, and the expression is on that layer? If so, you could just change your expression to this:

time+thisComp.layer("MANIPULATION").effect("time")("Slider")

If the expression is inside Comp 2 though, then I don't know what to suggest.

Dan



Return to posts index

Igor Stikic
Re: Comp duplicate - Converting comp name in expression
on Apr 16, 2014 at 9:22:22 pm

Sorry expression is in Comp 2.

Igor Stikic


Return to posts index


Dan Ebberts
Re: Comp duplicate - Converting comp name in expression
on Apr 16, 2014 at 9:36:44 pm

I suspect you want to have the expression behave differently, depending on which comp the expression's parent comp (Comp 2) is nested within. That won't work. You would have to duplicate Comp 2 as well and point the expression in the new sub comp to the new master comp. This could be done with a script, but it might be more trouble than it's worth.

Dan



Return to posts index

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