-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Define AutoCAD release versions in include/dwg.h #870
Comments
I have prepared part of commit: michal-josef-spacek@45bc47e I am looking for blank.DWG files from some AutoCAD releases:
When you could help me, please send DWG file and release from which was saved. (Open AutoCAD and save) |
I"m sorry, I don't have a single AutoCAD anymore :) It died with my mac |
I can probably help with the last 4 versions if need be, just empty DWG files? Be happy to pop them over to ruban in email if it would help? |
@turtle0x1 I will be happy. Only save the blank DWG file, archive it (zip, rar, gzip), and push to this ticket as an attachment. |
Have abit of concern posting them publicly, not sure on the legal implications? (These are work licenses, and I have to assume there is some identifier in the dwgs) |
@turtle0x1 You could send it to me ([email protected]) btw: This is probably a question to @rurban . I don't know about any license identification in the DWG file. |
The license not, but username and ID yes |
AcDb:Header:
AcDb:SummaryInfo:
Do you mean this? |
Exactly, plus the Security section |
We already have AUTOCAD_VERSION as our R_ release enums. But the extra table would be good to match it to the numeric dwg_version and maint_versions. |
Yes, but this is not used as AUTOCAD_VERSION, but as DWG version. |
Would some files written by OpenDesign SDK help in this? I can write: AC1012 R13 |
I am definitely interested in how different SW saves the DWG file. |
Here you go Michal: |
@timoria21 Thank you very much. There is:
This is definition of application, which saves DWG file. This info is same in all DWG files presented. |
FYI: oda only discriminates on the dwg_version (only sometimes on the maint_version) and with class objects only on the class_version. Whilst we map the AC10xx magic to our own release numbers. But I have never seen a conflict so far |
@michal-josef-spacek This is plain ODA SDK DWG output |
See, that's why we use the AC10xx magic, and not the dwg_version, which is just the version with which this file was created, and not with which version it was stored. |
Added AutoCAD 2018 and 2023, commit updated |
Added AutoCAD 2013, commit updated |
Added AutoCAD 2006 and 2006 SP1, commit updated. New information, Service Pack has updated the maintenance version. |
Added AutoCAD 2004, 2004 SP1a, and 2007, commit updated |
There is also the problem with the new VERSION checks, which could be a bit simplified to check the dwg_version, not the magic header version. ODA does only check this dwg_version. I really want to have only R_2000 - R_2002 being 0x17, R-2004a - R_2004c being 0x18 and so on. They did bump the dwg_version for each major dwg release, but it would be still only two versions to check. That's your @michal-josef-spacek add_autocad_version branch, right? |
Yes, that's mine.. |
to simplify the version checks. same dwg versions == release version numerically See GH #870
I am for merging and working on it. |
It doesn't pass the checks yet |
to simplify the version checks. same dwg versions == release version numerically See GH #870
to simplify the version checks. same dwg versions == release version numerically See GH #870
to simplify the version checks. same dwg versions == release version numerically See GH #870
to simplify the version checks. same dwg versions == release version numerically See GH #870
to simplify the version checks. same dwg versions == release version numerically See GH #870
to simplify the version checks. same dwg versions == release version numerically See GH #870
We have a situation, when we have DWG_VERSION_TYPE definitions in include/dwg.h, but this is related to DWG file, not to AutoCAD release.
Intent behind this is, that we need to define AutoCAD version and set defaults related to AutoCAD version.
e.g.
We have AutoCAD R_13 and AutoCAD R_2000. Boths could encode DWG file to AC1012 version.
But result is different e.g. in case of sections. This is common problem.
AutoCAD R_13:
AutoCAD R_2000:
The text was updated successfully, but these errors were encountered: