mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-24 10:56:51 -06:00
* DWG: write AutoCAD's drawing variable dictionary (fixes #1813) A 2004 (AC1018) DWG of a drawing without an AcDbVariableDictionary is read as empty by Vectric Aspire 10.5, though the same drawing as DXF imports. AutoCAD always writes the dictionary; CADCraft's and ezdxf's DXF writers don't. The DWG bridge now adds it, with AutoCAD's usual variables, when the drawing has none, for DWG versions before 2018 (AC1032 output reads fine without it). A dictionary the drawing already has keeps its entries and values. * docs: document the functions touched by #1813 * DWG: keep the drawing's DIMASSOC and HIDETEXT in the variable dictionary --------- Co-authored-by: Brandon Thomas <echelon@gmail.com>