Open WCarrollSTO opened 2 years ago
I have this same problem, trying to do any other version other than R12
R14 or R2018 doesn't work, both showing this same error
Is this project dead? I don't see any updates for quite some time.
I tried conversion using the ODA file converter which will convert a R2018 file just fine, the original output file is ~16k, with the ODA file coming in at ~74k
Is this project dead?
Not dead, but something that I spend my free time on, which can vary quite a bit.
The R12 DXF format is reasonably simple, but from R13/R14 on it gets really complicated and I simply haven't had the chance to work my way through all of the issues. By far the most complicated issue is object handles. The spec from Autodesk doesn't properly explain all of it so the process to fix these issues is simple experimentation.
If you're really in need of converting files, the ODA converter is certainly a good option and that's one of my primary ways of testing file compatibility, but even then, there are differences between AutoCAD and ODA in what each will accept.
Is this project dead?
Not dead, but something that I spend my free time on, which can vary quite a bit.
Appreciate the response, and I totally understand the issues. I'm quite interested in utilising some features in later versions (R2004), specifically using rust.
I've been digging through other documentation to get a grip on this. Any pointers you have would be appreciated.
A large part of the code for this is auto-generated at build time. Look at the build/
directory for the code that does this as well as the spec/
directory for the XML files that build/
uses.
A lot of the work is getting a file from AutoCAD and ensuring this library can read it and once that's done, the reverse; create a small app that writes a file and see if AutoCAD can open it appropriately. AutoCAD is very specific about what it will accept and their error messages are near useless. I've had some better luck first making ODA happy and then moving on to AutoCAD.
When I open and save (with no modifications) a blank file, I am unable to open it in AutoCAD.
Details:
normalize
and not; neither yield a difference$HANDSEED
as noted in #4, to no avail.Code used:
Error:
Blank File generated from AutoCAD: Blank.dxf.txt This same file, but open and save (without modification): LoadSave.dxf.txt
Here is an entirely blank file made with this library, only difference is changing version after
Drawing::new()
toAcadVersion::R2013
: UsingDrawing::New.dxf.txtPlease let me know if there is any further info you need. Thank you!