Quantcast
Viewing all articles
Browse latest Browse all 14097

Extract text from dxf that is not TEXT or MTEXT entity using ezdxf

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.
dxf file viewed in LibreCAD

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.


Viewing all articles
Browse latest Browse all 14097

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>