You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The block entity with handle 1C and name *Paper_Space has an invalid owner handle pointing to 1B which is not present in the file, the mapping can be solved using the name but this seems to be incorrect because the object doesn't exist at all.
After this investigation I've noticed that Autocad doesn't seem to be bother for this issues in the file and it can be opened without any problems so I'll open a branch to make the DxfReader more flexible for this irregularities.
Actions:
Make sure that the Failsafe in the reader works properly and is able to finish the reading notifying the errors found.
Improve the DxfReader to make sure that can handle references using names or handles.
DomCR
linked a pull request
Apr 6, 2023
that will
close
this issue
Describe the bug
I tried to open a DXF files created in LibreCAD and got a CadLib.Exceptions.DxfException
To Reproduce
Download LibreCAD from https://librecad.org
Create any DXF file, and save it on disk. Open with ACadSharp library.
Expected behavior
File must be opened without exceptions.
Additional context
Circle.zip
The text was updated successfully, but these errors were encountered: