Get DXF Entity TypeΒΆ
The dxftype()
method returns the entity type as defined
by the DXF reference as an uppercase string.
e = msp.add_line((0, 0), (1, 0))
assert e.dxftype() == "LINE"
See also
DXF Reference for DXF R2018
The dxftype()
method returns the entity type as defined
by the DXF reference as an uppercase string.
e = msp.add_line((0, 0), (1, 0))
assert e.dxftype() == "LINE"
See also
DXF Reference for DXF R2018