Read visible layers #1139
-
Hello, I found that the visible part is only a small portion of the whole file. When read the file, using LibreDWG, I saw that there are 45 layers, while the visible part consists of only 25 layers. Visible layers are those that you can see by reading the file using TrueViewDWG, AutoCAD, etc. The goal is to iterate through layers, but when do so with LibreDWG I iterate trough 45 layers, however only 25 of them consist of information (others may return null value). I get the number of layers by the following function dwg_get_layer_count. Is there a function in the API or a known way to read only the visible layers? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
See the dwglayer program. |
Beta Was this translation helpful? Give feedback.
See the dwglayer program.
The layer must be on and no frozen to be visible.