.NET

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

Getting a List of Layers From Selected Viewport

161 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,103
Registered: ‎04-29-2006
Message 2 of 2 (136 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
Need installation help?

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