Mailing List AE-List@media-motion.tv ? Message #42700
From: tolga burcak <tolgaburcak@gmail.com>
Subject: expression and parent rotation value
Date: Tue, 27 Mar 2012 02:08:49 +0300
To: After Effects Mail List <AE-List@media-motion.tv>
Hi,

I want to ask a question about expressions.

I have a comp named "Nodes". There are 15 same precomped layers in it
named "Node". I'm rotating all nodes in different values for each. I
have a layer in "Node" comp and I want to make it rotated. I'm trying
to subtract the parent layers rotation value but i couldnt access it
dynamically.

I dont want to use like this:

comp("Nodes").layer("Node1").transform.zRotation

because i dont want to populate Node1, Node2,...Node15 in project
panel. It may be another, (not hardcoded) way i guess.

I want to access rotation value like this:

parent.transform.zRotation

I hope i could tell my question clearly. Thanks :)
 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster