-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to save as R2013 #26
Comments
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 |
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. |
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 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 error: Specified handle 1 already in use on line 604 #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.txt
Please let me know if there is any further info you need. Thank you!
The text was updated successfully, but these errors were encountered: