Select / Unselect a layer?

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
byronnash
Posts: 321
Joined: July 7th, 2004, 2:30 pm
Location: Charlotte, NC
Contact:

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;
Dan Ebberts
Posts: 320
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

Byron,

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

Dan
byronnash
Posts: 321
Joined: July 7th, 2004, 2:30 pm
Location: Charlotte, NC
Contact:

Disregard, it seems to be working now. Weird. :roll:
Post Reply