← All bug reports

FS#1485dxflib: Lines are on the wrong layer when processing dxf files with external tools

Type
Bug
Status
Closed
Resolution
Fixed
Category
dxflib
Severity
Low
Priority
Low
Reported version
3.15.3
Operating system
Windows (All)
Reported
2016-09-23 by stebne
Closed
2016-09-23 by andrew

I create a drawing using QCAD which is stored using dxflib. For some reasons dxflib must be used. This drawing contains arcs and lines on a separate layer. If the dxf file is processed by an other tool only the arcs are referenced to the specific layer. The lines are referenced to the standard layer 0. It doesn't matter if I'm using the community edition or the pro edition.

After a some investigations I found that the created dxf file is not correct. I manually corrected the dxf file and it works as it should.

For details please refer to the appended files. Take a look to the ENTITY section and the LINE entities, e.g. line 2370. It is just to swap two entities.

Thanks for support.