From: "Nathan Shipley" Received: from mail-pf0-f179.google.com ([209.85.192.179] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 6434017 for AE-List@media-motion.tv; Tue, 10 Apr 2018 19:46:50 +0200 Received: by mail-pf0-f179.google.com with SMTP id f15so8904342pfn.0 for ; Tue, 10 Apr 2018 10:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=XAS6QQM6860Y4P3IvodF4sOVhnekGB1r9ueTfvZz0NM=; b=ZJ6TRWF/sgp46TdM9oQREubJaGjzkfKTcsMMcM5sJGo7YGR+46A+p0j39h1EyxV8P2 MEjphn/309NRaXc09Omc2mAm/H3OhwIORQzA5Zjhyy1MxmPM8hXDD+baCQh+5lKIncC4 8oVPx0/KqxENdnGBY9Os6+kchpNcbnsZmM+FW4Jr/vDcfWS6apOJzdF3nfaKoYDCTGy9 S5OQWD/a0cR8WhAMn1KXhq2Tip2eoq36xNq1SPejP1QFVkgK2QCKtFIatHF3Oza3NI5c xB/SxgiBDU0nG2vSlx2Ifq3veC/PxawyvBep7TDWljB0/0OF5GabWEswryxq8lNLaHmT Hguw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=XAS6QQM6860Y4P3IvodF4sOVhnekGB1r9ueTfvZz0NM=; b=K/UR0bxorPR27zdiUeFy31cXGgu36SLOcFWbuhsqqF3Moh38O9gIjJ36Xg2Efbqww3 fauUIGJfO4ZkYpCwb0tzeZSQ+WfBIVlOsSlja0OJa/1tltEvfISJH1J4LdKPbMsUVuWm ZvX9YJd+GCsb6bJybb9nFyqSRcGSHxZSpL0gccSlCah4FBwnk5X2bzJIRKZc7DZ/kBjG agNFa3bmIv6rURd9VbDtswD9NxMP8mpQ+cSUx3QHTemOJR7fl2xLAc++FG+bat3vXnPX 3RGvErNKaMOUhSK8PTCPMUc11ZhjC8Sllb5qyQXJ5t5o+A8QrqLixUmdJnCIWj3tb6br x7KA== X-Gm-Message-State: ALQs6tD6WENl5z8k/4TbfZoT0yshc9eWGHbLvCYeaFRM+y8ov7M9MScd H7Et4+ELSSDgfOpVHKfLoueV1Q7jTkKEtFkP3L3OECrh X-Google-Smtp-Source: AIpwx49/6eimGKiAef3UswOH7hpZi0fzQkg97jL3pgFuEfNiFX9SXMCDl2nV7D7eBhIMdm7ireeaVpNwSKbK5Qsh8fw= X-Received: by 10.99.125.87 with SMTP id m23mr948819pgn.297.1523382728200; Tue, 10 Apr 2018 10:52:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.184.134 with HTTP; Tue, 10 Apr 2018 10:51:47 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Apr 2018 10:51:47 -0700 Message-ID: Subject: Re: [AE] Expression to follow shape layers? To: After Effects Mail List Content-Type: multipart/alternative; boundary="94eb2c1b658c5f15f90569822e0e" --94eb2c1b658c5f15f90569822e0e Content-Type: text/plain; charset="UTF-8" If you apply this expression to a layer's position, it would attach the position to the first path point in a shape layer called "Shape Layer 1" with "Path 1": thisComp.layer("Shape Layer 1").content("Shape 1").content("Path 1").path.points()[0]; Basically you can just apply a blank expression to the value you want to connect to, then pickwhip to the shape layer's path, then add ".points()[0]" -- where you'd replace the "0" with the number of the path point you want to connect to. It's probably helpful to zero out the shape layer's position and move the path from there. On Tue, Apr 10, 2018 at 10:28 AM, David Torno wrote: > There is an Adobe script included that converts Vertex points to nulls I > believe then uses expressions to tie it. I think. Haven't used it. > > David Torno > 818.391.6060 > -------------------- > www.sydefxink.com (work history) > https://vimeo.com/davidtorno (work samples & breakdowns) > https://gumroad.com/davidtorno > http://provideocoalition.com/dtorno (tutorials) > > "The most useless day is that in which we do not laugh" > -Charles Field > > On Apr 10, 2018, at 10:24 AM, Michael Powers > wrote: > > I thought this was introduced in 15.0, but I can find any reference to > making a layer follow shape layers shape using expressions? Did I dream > this? > > > > > > Mike Powers > Director of Animation \ Cramer > > 781.278.2354 > mpowers@cramer.com > > https://vimeo.com/mpowers > > 3DBOXX W8920Processor 32.0 GB RAM > > Dual Xeon CPU E5-2670 0 @ 2.60GHz, 2601 Mhz, 8 Core(s), 16 Logical > Processor(s) > > Windows 10 Enterprise - 1709 (OS Build 16299.64) > > NVIDIA GTX TITAN Black RAM 6.0 GB Driver Version 2.1.2 NVIDIA 388.31 > > > > > > --94eb2c1b658c5f15f90569822e0e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you apply this expression to a layer's position, it= would attach the position to the first path point in a shape layer called = "Shape Layer 1" with "Path 1":

thisC= omp.layer("Shape Layer 1").content("Shape 1").content(&= quot;Path 1").path.points()[0];

Basically= you can just apply a blank expression to the value you want to connect to,= then pickwhip to the shape layer's path, then add ".points()[0]&q= uot; -- where you'd replace the "0" with the number of the pa= th point you want to connect to.=C2=A0 It's probably helpful to zero ou= t the shape layer's position and move the path from there.
<= div class=3D"gmail_extra">
On Tue, Apr 10, 20= 18 at 10:28 AM, David Torno <AE-List@media-motion.tv> = wrote:
There is an= Adobe script included that converts Vertex points to nulls I believe then = uses expressions to tie it. I think. Haven't used it.

David Torn= o
818.391.6060
--------------------
www.sydefxink.com (work history= )
https://vimeo.com/davidtor= no (work samples & breakdowns)

"The most useless day is that in which we do= not laugh"
-Charles F= ield

On Apr 10, 2018, at = 10:24 AM, Michael Powers <AE-List@media-motion.tv> wrote:

I thought this was introduced in 15.0, but I can fin= d any reference to making a layer follow shape layers shape using expressio= ns? Did I dream this?

=C2=A0

=C2=A0

Mike Power= s
Director of Animation = \ Cramer781.278.2354
mpowers@cra= mer.com

https://vimeo.com/mpowers=

3DBOXX W8920Processo= r=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A032.0 GB RAM=C2= =A0

Dual Xeon CPU E5-267= 0 0 @ 2.60GHz, 2601 Mhz, 8 Core(s), 16 Logical Processor(s)

Windows 10 Enterpris= e - 1709 (OS Build 16299.64)

NVIDIA GTX TITAN Bla= ck RAM=C2=A0=C2=A06.0 GB=C2=A0=C2=A0=C2=A0=C2=A0 Driver Version=C2=A0=C2=A0= 2.1.2 NVIDIA 388.31

=C2=A0

=C2=A0


--94eb2c1b658c5f15f90569822e0e--