.NET

.NET

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

Getting a List of Layers From Selected Viewport

157 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,082
Registered: ‎04-29-2006
Message 2 of 2 (132 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
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.