M
M
Maxim Britvin2016-08-10 14:42:16
Python
Maxim Britvin, 2016-08-10 14:42:16

When parsing a DXF file, an error occurs. Any ideas how to fix it?

To work, it was necessary to programmatically parse DXF files. Since I am studying Python, the parser wrote on it. While running, some files are throwing an error

raise DXFStructureError("Missing required y coordinate near line: {}.".format(line.counter))
dxfgrabber.tags.DXFStructureError: Missing required y coordinate near line: 22.
. I tried to use the dxfgrabber and ezdxf modules, the result is the same in both cases, the errors are the same. Judging by the message, in some place in the drawing there is no y coordinate, I looked through the entire file, I did not find such a place. Has anyone encountered such a problem? Maybe there are ideas how to solve or at least find the place where the error is?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question