Reverted #796 change: DXF version is back to 1006 which seems to be better compatible with commercial viewers. Using a later version turns out to require a lot of additional information I cannot provide without deeper insight into the DXF structure.

This commit is contained in:
Matthias Koefferlein 2021-07-22 23:11:35 +02:00
parent df022316b9
commit 6ff2f96310
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ DXFWriter::write (db::Layout &layout, tl::OutputStream &stream, const db::SaveLa
*this << 2 << endl << "HEADER" << endl;
// fake a dummy AutoCAD version (apparent required by some tools)
*this << 9 << endl << "$ACADVER" << endl;
*this << 1 << endl << "AC1014" << endl;
*this << 1 << endl << "AC1006" << endl;
*this << 0 << endl << "ENDSEC" << endl;
// layer table