How to write a new layer to the current dwg #579
Replies: 3 comments 29 replies
-
How did you create the new layer? It should be done with dwg_add_LAYER() |
Beta Was this translation helpful? Give feedback.
-
I use dwg_ add_ LAYER(), but the parameter Dwg_ Data * restrict dwg cannot be obtained from readdwg, but only through dwg_ add_ Document function add Dwg_ Data, and I want to use readdwg's Dwg_ Data |
Beta Was this translation helpful? Give feedback.
-
I've updated https://github.com/LibreDWG/libredwg/blob/smoke/load_dwg/examples/load_dwg.c to show how to load, check, add a text to a dwg. Similar for a layer. |
Beta Was this translation helpful? Give feedback.
-
I first read the data of dwg, and then created a new layer, but I crashed when writing dwg, so I don't know how to write the newly created layer?
Beta Was this translation helpful? Give feedback.
All reactions