Mailing List AE-List@media-motion.tv — Message #63936
From: scott.aelist <AE-List@media-motion.tv>
Sender: <hedczech@gmail.com>
Subject: Re: [AE] Expression to follow shape layers?
Date: Tue, 10 Apr 2018 10:59:28 -0700
To: After Effects Mail List <AE-List@media-motion.tv>
Has anyone done some in-depth tutorials on this new feature? I'd like to use it but I don't understand it very well. I've used the little script AE provides but it's hundreds of lines long. 

On Tue, Apr 10, 2018 at 10:51 AM, Nathan Shipley <AE-List@media-motion.tv> wrote:
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 <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 Torno
818.391.6060
--------------------
www.sydefxink.com (work history)
https://vimeo.com/davidtorno (work samples & breakdowns)

"The most useless day is that in which we do not laugh"
-Charles Field

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 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

 

 



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