Return-Path: Received: from mail-vc0-f169.google.com ([209.85.220.169] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4900089 for AE-List@media-motion.tv; Wed, 14 Nov 2012 21:29:25 +0100 Received: by mail-vc0-f169.google.com with SMTP id fl17so857786vcb.28 for ; Wed, 14 Nov 2012 12:32:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=BTWka7YQ7ZusPRkzvabkfgB1IO2/yLqFbfsKOlKmWO0=; b=Ni6T7P++kOzK7z0N3EsjpyJOU4MVgM5iNARGwZ2RolHSW95/zE7tPLIP/zXOI8Luod s5SIq4gHhWXVDuuIPtsMhdO4XpjMrlNP+fzpZ5eY/rizdQeyRnhA7RsOWGGBUMHEF0CC v3kZ46mOFJ4Tknb0mtII05U38G7xPlxZ/9mbzW3vzzjziXPohpoNdHFdqGYAN4Mt2CnE drAIhIV41ny6ztW5/UBGiM2cK9VpO2jwsIz4tiqoB9PUAUIL4+/wN56YgLDyv/RbZEVs mnA1TujQaM+fWAO4xkthCt+fLMmJJ0cS+H31hwZ2Pcd/dQMlWTnkV6VFByFjMwpJGOL6 QVQA== Received: by 10.58.161.113 with SMTP id xr17mr33957655veb.3.1352925161441; Wed, 14 Nov 2012 12:32:41 -0800 (PST) MIME-Version: 1.0 Sender: hedczech@gmail.com Received: by 10.58.170.39 with HTTP; Wed, 14 Nov 2012 12:32:01 -0800 (PST) From: "scott.aelist" Date: Wed, 14 Nov 2012 12:32:01 -0800 X-Google-Sender-Auth: tV073L-ie_jYVB0Q0CVHMWXJM4U Message-ID: Subject: get z position of parented layer? To: After Effects Mail List Content-Type: multipart/alternative; boundary=047d7b6dc868a7cb8a04ce7a6fd0 --047d7b6dc868a7cb8a04ce7a6fd0 Content-Type: text/plain; charset=ISO-8859-1 I'm trying to connect a particular emitter point to the position of a 3d null layer. I normally use the expression Dan Ebberts and other people have written: x = thisComp.layer("target"); x.toWorld(x.anchorPoint) ..but since the z position is split out in particular, I don't know how to connect it. I tried: x = thisComp.layer("target").transform.position[2]; x.toWorld(x.anchorPoint) ..but AE gives me an error. Anyone know how to write this?> thanks --047d7b6dc868a7cb8a04ce7a6fd0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm trying to connect a particular emitter point to the position of a 3= d null layer. I normally use the expression Dan Ebberts and other people ha= ve written:
x =3D thisComp.layer("target");
x.toWorld(x.anc= horPoint)
..but since the z position is split out in particular, I don't know how= to connect it.

I tried:
x =3D thisComp.layer("target"= ).transform.position[2];
x.toWorld(x.anchorPoint)
..but AE gives me a= n error. Anyone know how to write this?>

thanks
--047d7b6dc868a7cb8a04ce7a6fd0--