Filling a Dwg_Data structure with points' coordinates and exporting it in a .dwg file format #1070
Unanswered
danikolovv
asked this question in
Q&A
Replies: 2 comments 3 replies
-
See the dwgadd examples. This already does all of the boilerplate for you. You just need to add the coords to the file to dwgadd. |
Beta Was this translation helpful? Give feedback.
1 reply
-
There are tests which are doing exactly this, in dwgadd_test.sh. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Hello,
I have a question in regard to filling an empty Dwg_Data object with point coordinates. I iterate through a file with coordinates and the extracted x, y, z have to be written in the Dwg_Data object. Then this Dwg_Data object has to be exported.
I need to understand the functions I have to use for making this happen. Also please add if something is needed for points' coordinates to be saved correctly in a .dwg file format.
Finally I want to know if this (fill Dwg_Data structure with points' coordinates and extract it in .dwg file format) is possible to be extracted in .dll to be used later additionally in a bigger project (creating more abstraction).
I have used Dwg_Object_BLOCK_HEADER structure for allocating header. Also I have used:
I created a layer with
I have used:
If everything is right we come to the moment of exporting dwg structure into a .dwg file format. This is where I need an explanation for the exporting into .dwg file format and later into a .dll file format.
Great thanks for reading and helping in advance!
Regards,
Daniel Nikolov
Beta Was this translation helpful? Give feedback.
All reactions