diff --git a/src/libs/vdxf/libdxfrw/drw_header.cpp b/src/libs/vdxf/libdxfrw/drw_header.cpp index 4812360c6..7485da083 100644 --- a/src/libs/vdxf/libdxfrw/drw_header.cpp +++ b/src/libs/vdxf/libdxfrw/drw_header.cpp @@ -472,12 +472,14 @@ void DRW_Header::write(dxfWriter *writer, DRW::Version ver){ if (getInt("$DIMSOXD", &varInt)) writer->writeInt16(70, varInt); else + { writer->writeInt16(70, 0); writer->writeString(9, "$DIMSAH"); if (getInt("$DIMSAH", &varInt)) writer->writeInt16(70, varInt); else writer->writeInt16(70, 0); + } writer->writeString(9, "$DIMBLK1"); if (getStr("$DIMBLK1", &varStr)) if (ver == DRW::AC1009)