.NET

.NET

Reply
Mentor
415 Posts
0 Kudos
Registered: ‎09-23-2004
Post 1 of 2

Getting a List of Layers From Selected Viewport

165 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*
2,142 Posts
255 Kudos
Registered: ‎04-29-2006
Post 2 of 2

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!