.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting a List of Layers From Selected Viewport

1 REPLY 1
Reply
Message 1 of 2
mgorecki
340 Views, 1 Reply

Getting a List of Layers From Selected Viewport

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

1 REPLY 1
Message 2 of 2
_gile
in reply to: mgorecki

Hi,

 

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



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost