Premature end of entity Line\Polyline definition.

Oct 4, 2016 at 2:44 PM
Hello,
When I try to read a DXF file generated by an external Nesting application I receive this error.

Here an example that give me this error for the line:


0
SECTION
2
ENTITIES
0
LINE
8
2
6
CONTINUOUS
62
10
10
219.00552100
20
17.42499000
30
0.00000000
11
137.00552100
21
17.42499000
31
0.00000000
0
LINE

Does this mean the line isn't defined correctly?
Oct 4, 2016 at 3:20 PM
So it seems the file DXF that gives me problems doesn't use Subclass Markers which is causing the issue.
Are the DXF Subclass Markers required by Autocad Specification?

Any way I patch the problem?
Coordinator
Oct 5, 2016 at 11:32 AM
The piece of the file you are showing has the structure of an AutoCad12 dxf version, netDxf is only compatible with AutoCad2000 and up. You should check the dxf version before loading the file.

Daniel