.NET

.NET

Reply
Mentor
mgorecki
Posts: 415
Registered: ‎09-23-2004
Message 1 of 2 (163 Views)

Getting a List of Layers From Selected Viewport

163 Views, 1 Replies
06-26-2013 02:22 PM

I have functions that will freeze or thaw layers in a viewport, but I was wondering how to just check which layers are thawed/visible in a selected viewport.  Can anyone help me out?

 

Thanks,

Mark

*Expert Elite*
_gile
Posts: 2,133
Registered: ‎04-29-2006
Message 2 of 2 (138 Views)

Re : Getting a List of Layers From Selected Viewport

06-26-2013 10:09 PM in reply to: mgorecki

Hi,

 

Look at Viewport.GetFrozenLayers() and / or Viewport.IsLayerFrozenInViewport() methods.

Gilles Chanteau
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.