File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public DxfClassCollection Read()
108
108
this . notify ( $ "Invalid DxfClass id value: { dxfClass . ItemClassId } for { dxfClass . CppClassName } ", NotificationType . Error ) ;
109
109
}
110
110
111
- if ( this . _fileHeader . AcadVersion >= ACadVersion . AC1018 )
111
+ if ( this . R2004Plus )
112
112
{
113
113
//BL : Number of objects created of this type in the current DB(DXF 91).
114
114
dxfClass . InstanceCount = this . _sreader . ReadBitLong ( ) ;
Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ public void Write()
84
84
//BL : Number of objects created of this type in the current DB(DXF 91).
85
85
this . _writer . WriteBitLong ( c . InstanceCount ) ;
86
86
//BS : Dwg Version
87
- this . _writer . WriteBitShort ( ( short ) this . _document . Header . Version ) ;
87
+ this . _writer . WriteBitLong ( ( short ) this . _document . Header . Version ) ;
88
88
//BS : Maintenance release version.
89
- this . _writer . WriteBitShort ( this . _document . Header . MaintenanceVersion ) ;
89
+ this . _writer . WriteBitLong ( this . _document . Header . MaintenanceVersion ) ;
90
90
//BL : Unknown(normally 0L)
91
91
this . _writer . WriteBitLong ( 0 ) ;
92
92
//BL : Unknown(normally 0L)
You can’t perform that action at this time.
0 commit comments