fix reading lwpolylines
This commit is contained in:
parent
939ad5451c
commit
5aa41f5e12
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ def _read_block(block, clean_vertices: bool) -> Pattern:
|
||||||
eltype = element.dxftype()
|
eltype = element.dxftype()
|
||||||
if eltype in ('POLYLINE', 'LWPOLYLINE'):
|
if eltype in ('POLYLINE', 'LWPOLYLINE'):
|
||||||
if eltype == 'LWPOLYLINE':
|
if eltype == 'LWPOLYLINE':
|
||||||
points = numpy.array(tuple(element.lwpoints()))
|
points = numpy.array(tuple(element.lwpoints))
|
||||||
else:
|
else:
|
||||||
points = numpy.array(tuple(element.points()))
|
points = numpy.array(tuple(element.points()))
|
||||||
attr = element.dxfattribs()
|
attr = element.dxfattribs()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue