haplokuon / netDxf

.net dxf Reader-Writer
MIT License
986 stars 400 forks source link

Problem loading some dxf files #319

Closed pmorshed closed 1 year ago

pmorshed commented 2 years ago

I have a dxf file that only contains one 3D FACE but I can not load it with: "DxfDocument.Load(path)"

Note-1: The problem is not 3D FACE. I deleted that (and purged the file) but the problem persisted. Note-2: I changed the dxf file version but the problem persisted. Note-3: This file was prepared by PDMS (a piping engineering software).

What is the problem? I have attached the file equip3.zip .

haplokuon commented 2 years ago

The DXF file you uploaded contains a multiline style with no name, that should never happen. I will add a workaround for that but, in any case, no program should allow to create nameless multiline styles like any other table object.