Closed hmmueller closed 1 year ago
Compiling the sources and debugging shows that an MText in the input file has an invalid LineSpacingStyle of 'Default'. Commenting out the check in line 366 of MText.cs makes the file readable. I consider the issue closed for my purposes - many thanks for providing this library open source, so that we can tweak the behavior for such cases!
(One could think about a "non strict load mode", where such checks are shortchanged, because the application is not interested in a perfectly valid DXF. But I do not know whether this opens a huge can of worms of secondary problems ...).
H.M.
Attached is a zipped test file 0e.zip. CheckDxfFileVersion returns Version: AutoCad2000, isBinary: False, so the file is at least partially readable. But then, Load returns null. The file was created by exporting a proprietory file format from an older CAD tool.
Any way to find out what is wrong?
H.M.