DWG TrueView
Welcome to Autodesk’s DWG Trueview Forums. Share your knowledge, ask questions, and explore popular DWG Trueview topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
senthamt
3954 Views, 2 Replies

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

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’?

2 REPLIES 2
Message 2 of 3
dgorsman
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.
"I don't know" is the beginning of knowledge, not the end.


Message 3 of 3
banna.kbet
in reply to: senthamt

Hi Senthamt,

 

Do you get any other solution?

I want to load layers and turn on/off by programming

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

Post to forums  

Autodesk Design & Make Report