Use LibreDWG to parse information from DWG file #1106
Unanswered
danikolovv
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Correct me if this is not exactly right:
DWG file structure into LibreDWG is as I understand it yet by reading documentation and testing.
DWG file
Into Header there are Variables, among which exist paper_space, model_space and other blocks.
Paper_space, model_space and blocks each contain entities (which are the graphical elements).
So I relate to the 7.1 Decoding section from LibreDWG documentation.
I made this implementation:
dwg_block_control() and get_first_owned_entity() are API functions
On row where get_first_owned_entity() is used, program breaks due to an exception - Access violation executing location 0x00000000.
Can you give me feedback on DWG file struct in LibreDWG and code implementation used later for iteration through layers, specific entities from paper_space or model_space?
Beta Was this translation helpful? Give feedback.
All reactions