Return-Path: Received: from mail-la0-f46.google.com ([209.85.215.46] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5314741 for AE-List@media-motion.tv; Wed, 11 Dec 2013 19:42:03 +0100 Received: by mail-la0-f46.google.com with SMTP id eh20so4109865lab.33 for ; Wed, 11 Dec 2013 10:44:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=XBE2cbBLTzlK6yH0+NO9XF32gVttUi2bVTJ3Ste0g04=; b=sRfWqmdTMjTy1Fgy079DGrYuJx1ByYjTLVrA7+nTKBfX1cyuE0c0dZxTA8GNGschj4 HXD7tEYfiz3T7qWtX+7AMVE+LSk72ztbPDK0Z+P5fRb/7tGJ6e5CW0UzRTCIbR6iPDNn 5DUSKB15t63DpkNfelHouoZPEe8fMav56bMTm8lvcVoCZEL7D3sTAt3eCP1tTvJQp7Wn SgsaJ8tNr1rRXHEEteQnefWDhzKVrg0J1JX+jotJ9C+qyB3mucK2DZviSNp0wMtQuDkp cy0QjSKIsi1ljIUMQhXm55p60rlygjGW4XikDafc2EurUyjwur6Z3Fl+yJ/xooeMojCN nWXQ== X-Received: by 10.152.120.66 with SMTP id la2mr1159611lab.62.1386787486724; Wed, 11 Dec 2013 10:44:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.22.98 with HTTP; Wed, 11 Dec 2013 10:44:26 -0800 (PST) In-Reply-To: References: From: Byron Nash Date: Wed, 11 Dec 2013 13:44:26 -0500 Message-ID: Subject: Re: [AE] Expressions: "this" clone stroke To: After Effects Mail List Content-Type: multipart/alternative; boundary=089e01227ac086783704ed469fd3 --089e01227ac086783704ed469fd3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ah, thanks. I'll give that a whirl! On Wed, Dec 11, 2013 at 12:38 PM, Mathias M=F6hl wrote= : > yes, since the property you apply it to is actually > effect("Paint").stroke("Clone 1").transform.position > you can simply write > > value + 75 > > Cheers, > Mathias > > Am 11.12.2013 18:16, schrieb Byron Nash: > > Is there a way to tell an expression to look at its own layer name, > property, etc? For instance, I'm using some expressions on Clone Paint > strokes and would like to have the Clone Stroke name be generated > dynamically instead of me changing it to "Clone 1", "Clone 2" etc... > > I have this line on my clone position and keep duplicating the stroke. > It would be nice to have the name of the stroke change for me each time. > Something like "this" in certain contexts in scripting. > effect("Paint").stroke("Clone 1").transform.position+75 > > > > -- > ------------------------------ > * mamoworld.com * > simplify your cgi > > dr. mathias m=F6hl > marlow 52, 18551 sagard, germany > phone +49 (0)38302 - 887561 > info@mamoworld.com > --089e01227ac086783704ed469fd3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Ah, thanks. I'll give that a whirl!


On Wed, Dec 11, 2013 at 12= :38 PM, Mathias M=F6hl <info@mamoworld.com> wrote:
=20 =20 =20
yes, since the property you apply it to is actually
effect("Paint").strok= e("Clone 1").transform.position
you can simply write

value + 75

Cheers,
Mathias

Am 11.12.2013 18:16, schrieb Byron Nash:
Is there a way to tell an expression to look at its own layer name, property, etc? For instance, I'm using some expressions on Clone Paint strokes and would like to have the Clone Stroke name be generated dynamically instead of me changing it to "Clone 1", "Clone 2" etc...

I have this line on my clone position and keep duplicating the stroke. It would be nice to have the name of the stroke change for me each time. Something like "this" in certa= in contexts in scripting. =A0
effect("Paint"= ).stroke("Clone 1").transform.position+75


--

mamowor= ld.com
simplify your cgi

dr. mathias m=F6hl
marlow 52, 18551 sagard, germany
phone +49 (0)38302 - 887561
info@mamowo= rld.com


--089e01227ac086783704ed469fd3--