Return-Path: Received: from mail-ob0-f180.google.com ([209.85.214.180] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5180035 for AE-List@media-motion.tv; Mon, 19 Aug 2013 14:57:44 +0200 Received: by mail-ob0-f180.google.com with SMTP id up14so3941210obb.11 for ; Mon, 19 Aug 2013 06:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9TFhbKy0NwmMjshqe7HF5wqoyV96qsGsgcc31Vhipc0=; b=s7uDP2GopvBPybD4rs5HjfiXko/vHmwE9zeeK7C88/FiGipES+PPvPXLw1Y55sKnFp 2GPBBRfag5iGDIcjZXXRWkZYf7IxVqYjSPEeqGRfCgMGiUVMo05zqfO/2ODYdGHJ0CBx 5FCjuJwbah8U1v/qAuZfi1or8oKRFG0Jngx5O7fg6qeqyfi7MO/RWrhIq/pwbHUMDI/z 8T3Be9DaY/Klt3ZTM6KTeQf7D0xZAGrin2FErTlmiloMbZAfq66CAlHkc8sW28FQEY8H qMuqWnZXvJ0oZCHVlY0PJfPuWd6BMN623zeZympfmsveT8GeI67w04tJJj43KC8EIt1h 05Cg== MIME-Version: 1.0 X-Received: by 10.50.87.4 with SMTP id t4mr939986igz.18.1376917788886; Mon, 19 Aug 2013 06:09:48 -0700 (PDT) Received: by 10.50.16.148 with HTTP; Mon, 19 Aug 2013 06:09:48 -0700 (PDT) Date: Mon, 19 Aug 2013 08:09:48 -0500 Message-ID: Subject: expression to check for a 3d layer From: Drew Gilmore To: After Effects Mail List Content-Type: multipart/alternative; boundary=089e0111bb74b1840904e44ca7ed --089e0111bb74b1840904e44ca7ed Content-Type: text/plain; charset=ISO-8859-1 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. www.newtonscannon.com --089e0111bb74b1840904e44ca7ed Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm trying to write an expression that checks if a lay= er (specified by a layer expression control) has its 3D layer switch on.
L=3Deffect("Layer Control")("Layer&quo= t;);
if ( L.threeDLayer) =A0 { //do something };

B= ut I get the error "Class 'Layer' has no property or method na= med 'threeDLayer'".

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

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



= --089e0111bb74b1840904e44ca7ed--