Return-Path: Received: from mail-ie0-f169.google.com ([209.85.223.169] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4836594 for AE-List@media-motion.tv; Wed, 05 Sep 2012 18:38:17 +0200 Received: by iec9 with SMTP id 9so1361034iec.28 for ; Wed, 05 Sep 2012 09:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CPhsnlYSciNiQe3AVpIQ0Mat6s+Xan1wRuazKgJwVSE=; b=XFIHvOQKptIWxB57k/nGiVo3YUvHhV4s18RUC1rYMKcUYeZpTImqmYbPA72aR4R1dS LF8U244rgAr6JzRRW5nyYBRjEqUq5EyFfZwBI/ZIODoXucEtcX0Uo2X+URVwlzkVMDK+ g5pZoURXi3LkQjryNtmni/mgM7RfxNx8WR06M2TyH1SaJBJQBQwskLwRWMePUDKZKtUH PfeBUcUxmBsuF1SSCQFnyEx+olIwQcU+r0agT9rBf8byErDMu+L+pnqq1QOwinPxJE89 alMSCvzq+MFrC+J55n+t+D5OzU0yyIWfAhCKWzv6+0yKgZlZ0DuT43uYiZgDFEHtMjGe gb9Q== MIME-Version: 1.0 Received: by 10.50.104.201 with SMTP id gg9mr18464236igb.67.1346863158635; Wed, 05 Sep 2012 09:39:18 -0700 (PDT) Received: by 10.64.165.167 with HTTP; Wed, 5 Sep 2012 09:39:18 -0700 (PDT) Received: by 10.64.165.167 with HTTP; Wed, 5 Sep 2012 09:39:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 Sep 2012 09:39:18 -0700 Message-ID: Subject: Re: [AE] Layer Space transform onto parented layers From: Darby Edelen To: After Effects Mail List Content-Type: multipart/alternative; boundary=e89a8f23435d21ac1104c8f704cf --e89a8f23435d21ac1104c8f704cf Content-Type: text/plain; charset=ISO-8859-1 In order to transform the parented null to the unparented null you'll need to use an expression in this form; applied to the parented null's position: l = thisComp.layer("unparented null"); p = l.toWorld(l.anchorPoint); parent.fromWorld(p); I can't confirm this is correct at the moment, but it should at least be close. On Sep 5, 2012 5:37 PM, "Byron Nash" wrote: > I need to "constrain" one null to another with Layer Space transforms. The > null that I am matching FROM is not parented at all. The one I am wanting > to add the expression TO is parented several levels deep. I have tried > various combinations of toComp, fromComp, toWorld, fromWorld, etc... What > is the proper way to apply a comp position value to a layer that is > inheriting many levels of offsets? > > Thanks! > --e89a8f23435d21ac1104c8f704cf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

In order to transform the parented null to the unparented null you'l= l need to use an expression in this form; applied to the parented null'= s position:

l =3D thisComp.layer("unparented null");
p =3D l.toWorld(l.anchorPoint);
parent.fromWorld(p);

I can't confirm this is correct at the moment, but it should at leas= t be close.

On Sep 5, 2012 5:37 PM, "Byron Nash" &= lt;byronnash@gmail.com> wrote= :
I need to "constrain" one null to another with Layer Space transf= orms. The null that I am matching FROM is not parented at all. The one I am= wanting to add the expression TO is parented several levels deep. I have t= ried various combinations of toComp, fromComp, toWorld, fromWorld, etc... W= hat is the proper way to apply a comp position value to a layer that is inh= eriting many levels of offsets?

Thanks!
--e89a8f23435d21ac1104c8f704cf--