Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MGE 2009 API - Setting a layer unselectable

2 REPLIES 2
Reply
Message 1 of 3
OzWings
278 Views, 2 Replies

MGE 2009 API - Setting a layer unselectable

Hello,



I am using MGE 2009 ASP.NET API to programmatically set a certain layer unselectable.



In my C# code i have:



layer.Selectable = false;



However i can still select objects on that layer on the map.



Am I missing something?



Cheers

OzWings
2 REPLIES 2
Message 2 of 3
jackie.ng
in reply to: OzWings

Did you save() the MgMap object where the layer comes from?

- Jackie
Message 3 of 3
OzWings
in reply to: OzWings

Hello,

Yes and now things work. Please note that was an old post that I have given up on as no one came back to me so I contacted Autodesk directly.

Cheers

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report