Add support for multiple AutoCAD versions - #27
Merged
marevol merged 3 commits intoNov 9, 2025
Merged
Conversation
- Add AC1032 enum to DRW::Version in drw_base.h - Create dwgReader32 class following existing pattern (extends dwgReader18) - Add AC1032 string mapping in libdwgr.cpp - Update DXF header handling to support AC1032 - Add version tests for R2013 (AC1027) and R2018 (AC1032) - All existing tests pass successfully The implementation follows the established pattern where newer versions (AC1024, AC1027, AC1032) extend dwgReader18 with minimal version-specific overrides. Text encoding automatically uses UTF-8/UTF-16 for modern versions.
- Add dwgreader32.h to dist_noinst_HEADERS - Add dwgreader32.cpp to libdxfrw_la_SOURCES This completes AC1032 (AutoCAD 2018) support for Autotools-based builds.
Regenerate configure and Makefile.in files to include dwgreader32 sources and headers in the Autotools build system. This ensures both CMake and Autotools builds work correctly with AC1032 support.
marevol
deleted the
claude/add-autocad-version-support-011CUwVLNsqfRNQ7sg4nAH8R
branch
February 5, 2026 07:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The implementation follows the established pattern where newer versions (AC1024, AC1027, AC1032) extend dwgReader18 with minimal version-specific overrides. Text encoding automatically uses UTF-8/UTF-16 for modern versions.