I am trying to get numbers from a specific dxf file using ezdxf.
However, a query on the modelspace for msp.query('TEXT')
or msp.query('MTEXT')
yields no results, if I iterate over all entities, I can see they are all of type INSERT
.
In the dxf file, I can see numbers next to a contour for every insert, and I can copy one insert into a new file, which results in the contour and the number being copied. However, I can not figure out where the information on the number is stored.This is what the dxf file looks like viewed in LibreCAD:Image may be NSFW.
Clik here to view.
Link to dxf file on google drive
Does anyone know where in the INSERT
type entity the number might be stored? It is not in the entity.dxf.name
, which yields a completely different string.