Page 1 of 1

Select / Unselect a layer?

Posted: September 14th, 2010, 1:05 pm
by byronnash
I tried searching for these terms but it says they are too common. So I apologize if this has been discussed.

Is there a way to select or unselect a layer via scripting? I'm trying something like this and getting an error.

Code: Select all

myLayer.selected = true;

Re: Select / Unselect a layer?

Posted: September 14th, 2010, 1:34 pm
by Dan Ebberts
Byron,

That should work. What kind of error message are you getting?

Dan

Re: Select / Unselect a layer?

Posted: September 14th, 2010, 1:47 pm
by byronnash
Disregard, it seems to be working now. Weird. :roll: