Return-Path: Received: from mo-p00-ob.rzone.de ([81.169.146.161] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 5314687 for AE-List@media-motion.tv; Wed, 11 Dec 2013 18:36:00 +0100 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1386783523; l=3132; s=domk; d=mamoworld.com; h=Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=UZMm/qQyevJvqtTtXOqApkb/p1E=; b=JV64AygeQGqA3KNMCpWy2u53z0kW9QMk/Z1JXqKAbMcOZWtDsVCJtqUQkjNVXltyZTC tIwi5OUTx5Tkcevahk7prclTAx0G7pJBTHWCS3PiNYOOWfZ+OuVD2/c/8rX3M544O0bqa p8pkLl1Whk49xuHYddnCbS/eIDoXDZm9f0Q= X-RZG-AUTH: :JWICemClevKDgu8HjcNJMjRl593UXLPRxATGwvl0czvlKPvWKaNvvwv0g21TTw== X-RZG-CLASS-ID: mo00 Received: from [192.168.14.25] (p5DC64C50.dip0.t-ipconnect.de [93.198.76.80]) by smtp.strato.de (RZmta 32.17 DYNA|AUTH) with (TLSv1:DHE-RSA-AES256-SHA encrypted) ESMTPSA id g0542dpBBHchBkp for ; Wed, 11 Dec 2013 18:38:43 +0100 (CET) Message-ID: <52A8A323.1070701@mamoworld.com> Date: Wed, 11 Dec 2013 18:38:43 +0100 From: =?ISO-8859-1?Q?Mathias_M=F6hl?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: After Effects Mail List Subject: Re: [AE] Expressions: "this" clone stroke References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------020409030203000701030707" This is a multi-part message in MIME format. --------------020409030203000701030707 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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öhl marlow 52, 18551 sagard, germany phone +49 (0)38302 - 887561 info@mamoworld.com --------------020409030203000701030707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
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öhl
marlow 52, 18551 sagard, germany
phone +49 (0)38302 - 887561
info@mamoworld.com

--------------020409030203000701030707--