DWG TrueView

DWG TrueView

Posts: 4
Registered: ‎03-06-2014
Message 1 of 2 (577 Views)
Accepted Solution

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

577 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).

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*
Posts: 5,226
Registered: ‎10-12-2006
Message 2 of 2 (532 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.

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 or visit the Installation and Licensing Forum to get help installing your software.