Return-Path: Received: from qmta04.emeryville.ca.mail.comcast.net ([76.96.30.40] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 4667526 for ae-list@media-motion.tv; Tue, 27 Mar 2012 01:40:02 +0200 Received: from omta24.emeryville.ca.mail.comcast.net ([76.96.30.92]) by qmta04.emeryville.ca.mail.comcast.net with comcast id qPSv1i0061zF43QA4PgFre; Mon, 26 Mar 2012 23:40:15 +0000 Received: from HPZ200 ([76.20.32.7]) by omta24.emeryville.ca.mail.comcast.net with comcast id qPgE1i00X09DSM08kPgEed; Mon, 26 Mar 2012 23:40:15 +0000 Message-ID: <4111FA056B2F4EBDA56799D73889933F@HPZ200> From: "Dan Ebberts" To: "After Effects Mail List" References: In-Reply-To: Subject: Re: [AE] expression and parent rotation value Date: Mon, 26 Mar 2012 16:40:14 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 So there is only one "Node" precomp which you have duplicated (as layers) inside the "Nodes" comp, is that correct? If that's the case, I think you're out of luck. There's no way for an expression to know which instance of the precomp it is in. You would have to duplicate Nodes in the project bin and each copy would need a unique name, then you could do it with an expression like this: -comp("Nodes").layer(thisComp.name).transform.zRotation Dan -----Original Message----- From: tolga burcak Sent: Monday, March 26, 2012 4:08 PM To: After Effects Mail List Subject: [AE] expression and parent rotation value 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