Return-Path: Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 4850442 for AE-List@media-motion.tv; Tue, 18 Sep 2012 16:32:30 +0200 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120918143358.THCN10247.mtaout01-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Tue, 18 Sep 2012 15:33:58 +0100 Received: from [192.168.0.2] (really [80.5.201.216]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20120918143358.JGRB22970.aamtaout02-winn.ispmail.ntl.com@[192.168.0.2]> for ; Tue, 18 Sep 2012 15:33:58 +0100 From: Angie-Taylor Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/alternative; boundary="Apple-Mail=_99453B47-4691-4583-9CA0-CDE48514CE50" Subject: Re: [AE] reusing a very large expression Date: Tue, 18 Sep 2012 15:33:56 +0100 In-Reply-To: To: "After Effects Mail List" References: Message-Id: <94BFD520-0C98-4542-A10C-D8CCBE41C1B1@ntlworld.com> X-Mailer: Apple Mail (2.1257) X-Cloudmark-Analysis: v=1.1 cv=GaEGOwq9FwezmTggA+b6yC6zDZF2HYaK6RN/tSqdnVA= c=1 sm=0 a=aFVkpIIRjuoA:10 a=uObrxnre4hsA:10 a=qOj5o4icAAAA:8 a=Ugr7SBOdAAAA:8 a=q02WiNTGAAAA:8 a=Nv_XBsAlUAc7Wcl8Q3QA:9 a=wPNLvfGTeEIA:10 a=R834F0t0HCQA:10 a=JqEG_dyiAAAA:8 a=jU4qhlNgAAAA:8 a=3j4BkbkPAAAA:8 a=ZgFmqT6sAAAA:8 a=yLiG6_4jAAAA:20 a=iqDAq9NGKm9VCqTleNIA:9 a=_W_S_7VecoQA:10 a=OV2-aWCU50MA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 --Apple-Mail=_99453B47-4691-4583-9CA0-CDE48514CE50 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi Drew, A couple of things that may help; a) You could use a variable to represent the expression e.g. a =3D "my = horribly complicated expression". So each time you type the letter a it = will refer to the value returned. b) Can you perhaps create a null that contains the expression. Then when = you want to reference it in other expressions you just have to refer to = that comp, layer, and property. You could do this by pick whipping or = copy-pasting. c) I find iPaste useful when creating expressions. As it allows you to = cache your copy pastes! http://www.iggsoftware.com/ipaste/ cheers, Angie Angie Taylor - Creative Ideas Subscribe to my newsletter for lots of software tips and tricks! http://www.angietaylor.co.uk Twitter: theangietaylor Linkedin: theangietaylor Facebook: Angie-Taylor Vimeo: angietaylor Youtube: MacDonna On 18 Sep 2012, at 15:21, Drew Gilmore wrote: > HI all,=20 >=20 > I'm trying to find a way to manage the use of a large expression = (roughly 200 lines of matrix math fun that I barely understand, but hey = it works!) >=20 > Instead of pasting the entire expression into every layer that I need, = I'm linking to it with a line like this: >=20 > $.evalFile ("Y:/project/crazymath.txt") >=20 > And then adding a few additional expressions afterwards, which use the = functions in the linked file. >=20 > This works well, except it's not very portable. Is there a way to keep = that large expression internal to the .aep file, but not have paste the = whole mess everywhere I need it? >=20 > Drew > -- > Drew Gilmore > newtonscannon.com >=20 > Just a guy made of dots and lines. --Apple-Mail=_99453B47-4691-4583-9CA0-CDE48514CE50 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Hi = Drew,

A couple of things that may = help;

a) You could use a variable to = represent the expression e.g. a =3D "my horribly complicated = expression". So each time you type the letter a it will refer to the = value returned.

b) Can you perhaps create a = null that contains the expression. Then when you want to reference = it in other expressions you just have to refer to that comp, layer, and = property. You could do this by pick whipping or = copy-pasting.

c) I find iPaste useful when = creating expressions. As it allows you to cache your copy = pastes!



Subscribe&n= bsp;to my newsletter for lots of software tips and = tricks!


http://www.angietaylor.co.uk

Twitter: Linkedin: Facebook: Vimeo: Youtube: 

HI all, =

I'm trying to find a way to manage the use of a large expression = (roughly 200 lines of matrix math fun that I barely understand, but hey = it works!)

Instead of pasting the entire expression into every = layer that I need, I'm linking to it with a line like this:

$.evalFile ("Y:/project/crazymath.txt")

And then adding a few = additional expressions afterwards, which use the functions in the linked = file.

This works well, except it's not very portable. Is there a = way to keep that large expression internal to the .aep file, but not = have paste the whole mess everywhere I need it?

Drew
--
Drew Gilmore
newtonscannon.com

Just a = guy made of dots and lines.

= --Apple-Mail=_99453B47-4691-4583-9CA0-CDE48514CE50--