Mailing List AE-List@media-motion.tv ? Message #52577
From: Drew Gilmore <dotsandlines@gmail.com>
Subject: Re: [AE] scripting for pseudo-effects
Date: Sun, 19 Jan 2014 16:01:49 -0600
To: After Effects Mail List <AE-List@media-motion.tv>
Thanks yeah, now that I poke around it's clearly something else I'm doing wrong... I think I have it working. But now I'm curious. Why does this work:

var vppath = curLayer.Effects.addProperty("VP-Path");
vppath.property("Azimuth").expression = ("50");

var vp = curLayer.Effects.addProperty("Virtual Projector");
vp.property("Azimuth").expression = ("50");


But this doesn't:

var vppath = curLayer.Effects.addProperty("VP-Path");
var vp = curLayer.Effects.addProperty("Virtual Projector");

vp.property("Azimuth").expression = ("50");
vppath.property("Azimuth").expression = ("50");


(FWIW, VP-Path is the custom effect, Virtual Projector is a plugin effect.)

Thanks,
Drew


On Sun, Jan 19, 2014 at 1:34 PM, David Torno <torno@sydefxink.com> wrote:
Should work the same way. Pseudo effects still have matchNames and properties just like regular effects. What's your code look like, if you don't mind sharing.

David Torno
Technical Director
--------------------

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

On Jan 19, 2014, at 9:48 AM, Drew Gilmore <dotsandlines@gmail.com> wrote:

I'm trying to create a script that adds expressions to a custom pseudo-effect. I'm using the same syntax that successfully adds an expression to a regular effect, but ExtendScript Toolkit gives me errors. Am I doing something wrong, or is this just not possible now?

Drew
--
Drew Gilmore

Just a guy made of dots and lines.

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