Mailing List AE-List@media-motion.tv ? Message #42703
From: Phil Spitler <phil@bonfirelabs.com>
Subject: Re: [AE] expression and parent rotation value
Date: Mon, 26 Mar 2012 16:17:52 -0700
To: After Effects Mail List <AE-List@media-motion.tv>
parent.transform.zRotation is a valid expression and should work fine.

Do you get an error when trying this?

Phil


Phil Spitler |   Associate Creative Director  |  Bonfire  Labs  |  t : 415.394.8200  |  c : 415.571.3139  |  Bonfirelabs.com

On Mar 26, 2012, at 4:08 PM, tolga burcak wrote:

> 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 :)
>
> +---End of message---+
> To unsubscribe send any message to <ae-list-off@media-motion.tv>

 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster