Mailing List AE-List@media-motion.tv ? Message #50516
From: Drew Gilmore <dotsandlines@gmail.com>
Subject: expression to check for a 3d layer
Date: Mon, 19 Aug 2013 08:09:48 -0500
To: After Effects Mail List <AE-List@media-motion.tv>
I'm trying to write an expression that checks if a layer (specified by a layer expression control) has its 3D layer switch on.

L=effect("Layer Control")("Layer");
if ( L.threeDLayer)   { //do something };

But I get the error "Class 'Layer' has no property or method named 'threeDLayer'".

I've checked all over for an example, and can't find anything that doesn't look like this. I'm sure I'm missing something simple and object-oriented...

Drew
--
Drew Gilmore
Just a guy made of dots and lines.



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