Mailing List AE-List@media-motion.tv ? Message #50517
From: mylenium@mylenium.de <mylenium@mylenium.de>
Subject: Re: [AE] expression to check for a 3d layer
Date: Mon, 19 Aug 2013 15:44:42 +0200 (CEST)
To: After Effects Mail List <AE-List@media-motion.tv>
Unfortunately there is no built-in method to check for that. you will have to tag your layers somehow by naming them suitably or applying a specificalyl named dummy effect that can be searched for.
 
Mylenium
 
[Pour Mylène, ange sur terre]
-----------------------------------------
www.mylenium.de
 
Drew Gilmore <dotsandlines@gmail.com> hat am 19. August 2013 um 15:09 geschrieben:

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