fix reading lwpolylines
This commit is contained in:
parent
939ad5451c
commit
5aa41f5e12
@ -196,7 +196,7 @@ def _read_block(block, clean_vertices: bool) -> Pattern:
|
||||
eltype = element.dxftype()
|
||||
if eltype in ('POLYLINE', 'LWPOLYLINE'):
|
||||
if eltype == 'LWPOLYLINE':
|
||||
points = numpy.array(tuple(element.lwpoints()))
|
||||
points = numpy.array(tuple(element.lwpoints))
|
||||
else:
|
||||
points = numpy.array(tuple(element.points()))
|
||||
attr = element.dxfattribs()
|
||||
|
Loading…
Reference in New Issue
Block a user