DWG TrueView

Reply
Member
senthamt
Posts: 4
Registered: ‎03-06-2014
Message 1 of 2 (505 Views)
Accepted Solution

Truview 2014 Layer control (Turn On\Turn OFF) programmatically

505 Views, 1 Replies
03-06-2014 11:22 PM

I'm using Volo Viewer Control to display some DWG files, these files have multiple layers, the application is an older VB6 app (that use VoloView, but have to be upgraded).

Question:
It is possible to turn off, at runtime, a Layer?
In VoloView i do something like this:
AvViewX1.LayersOff = "LIMITES"

How can I do the same with DWG TrueView?
Can I list all the Layers (using a collection, for instance) that a DWG contains? And turn it ‘off’ or ‘on’?

*Expert Elite*
dgorsman
Posts: 5,112
Registered: ‎10-12-2006
Message 2 of 2 (460 Views)

Re: Truview 2014 Layer control (Turn On\Turn OFF) programmatically

03-11-2014 01:47 PM in reply to: senthamt

There is no programmatic/scripted controls in TrueView.  There is the standard layer palette, and layer filters and states should still be available provided they were set in the DWG file.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


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