Replies: 3 comments
-
Hi! First: Second: No, the error message says something completely different, your script is accessing an attribute that doesn't exist.
|
Beta Was this translation helpful? Give feedback.
-
Hi mozman,
And this is the output I get:
About the ezdxf version, v0.14.2 is what I get by default. I probably used even older versions back in 2018 when I used the file very often and with no errors. I have tried to force latest ezdxf in my Anaconda install (ezdxf=v1.1.0), but conflicts were found. After 2 days solving conflicts the package was not installed. I have a 6K+ lines partial log if you are interested. About the dxf file, sorry I can't share. I will let you know if I can find a way to trim or scramble it while still reproducing the error. Best regards. |
Beta Was this translation helpful? Give feedback.
-
This appears to be a DXF structure error, but I can only tell for sure when I get the DXF file. I added a check in |
Beta Was this translation helpful? Give feedback.
-
I am trying to read a dxf file (which I could read smoothly years ago), but now I get this error:
AttributeError: 'LWPolyline' object has no attribute 'add'
I think the 'add' refers to the hex handle ADD, and only ocurrence in the file looks normal code 5:
Rest of ocurrences are 1ADD, 2ADD, etc. Again hex handles. Anyway other files with this same 'ADD' handle can be read properly.
Could you please help to overcome this issue?
Thanks in advance and best regards.
Beta Was this translation helpful? Give feedback.
All reactions