| Hi Drew,
A couple of things that may help;
a) You could use a variable to represent the expression e.g. a = "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!
On 18 Sep 2012, at 15:21, Drew Gilmore wrote: 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.
|