Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Referencing the expression of another layer

Cow Forums : Adobe After Effects Expressions

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
Referencing the expression of another layer
by Ben Frank on Nov 4, 2009 at 5:57:36 pm

So i have a somewhat lengthy expression that will be applied to all transform properties of all layers in a project. i would like to be able to easily update this expression and have that update ripple through all elements using it. my question is: is there a way to dynamically copy the expression of another layer? does the expression field itself have a name that i can use to copy it?

i want to do something like this:

thisComp.layer("layer_name").transform.position.expression;

where "expression" at the end is whatever the name of the expression field is. any help would be greatly appreciated.



ben

--
Check out my food blog: http://iAteThat.com
--
benfRank
art direction / broadcast, print & web design / photography
WEB: www.behance.net/benfrank/Frame
WEB: www.benfrankdesign.com
WEB: www.benfrankphotography.com

Respond to this post   •   Return to posts index

Re: Referencing the expression of another layer
by Xinlai Ni on Nov 4, 2009 at 6:33:36 pm

Unfortunately no, you have' to manually update it one by one every time you change your expression.
But a simple script may do what you want.

Xinlai Ni
Software Engineer, Google Inc.


Respond to this post   •   Return to posts index

Re: Referencing the expression of another layer
by Eric Sanderson on Nov 4, 2009 at 7:46:24 pm

Dont know of a way to auto update it but the is a "copy expression only" option in edit that should make what your trying to do pretty painless.

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]