.NET

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

Getting a List of Layers From Selected Viewport

150 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,077
Registered: ‎04-29-2006
Message 2 of 2 (125 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community