File conversion JSON to DWG using dwgwrite.exe #1075
Unanswered
danikolovv
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You really need to understand the DWG format to be able to create something from scratch as with JSON. Better take existing entities and objects exported to JSON. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
When I navigate to the route, where dwgwrite.exe is located and run it through cmd using this input of commands:
All runs smoothly until it gets to reading "OBJECTS" from JSON file format.
For each object into the JSON file (currently 2 objects within) the following error is outputted:
And after I added "handle" and "ownerhandle" consisting of an array of [0, 0, 0] this error appeared:
Followed by these two informative lines:
And finally, these are outputted:
I am generating a JSON using RapidJSON. Currently only the "FILEHEADER" and "HEADER" are borrowed from a JSON exported by LibreDWG. The idea here is to implement the header encryption of the JSON file, so it can then successfully be converted to a DWG file format.
If you need more specifics of the error, please let me know.
Regards,
Daniel Nikolov
Beta Was this translation helpful? Give feedback.
All reactions