Lisp needed for text extraction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all!
Complementary to the LISP file request thread that I created this week for the annotation of closed areas, I would like to have a second routine that would allow me to extract the annotations made with this first routine.
Standard display of the informations when I am ready to extract them from AutoCAD. There may be many more stations (XXX+YYY,ZZZ) on the right side of the image below :
Desired results for the extraction of the above data to a Microsoft Excel file. Notice the extracted data (contents and layers) and their order (extracted from bottom to top, left to right). I tried to find a way to get a similar extraction order with AutoCAD’s Extract command, but it does not seem possible :
When the routine would be invoked, it would first ask to select the informations to be extracted. After selecting these informations, we would press Enter key and the routine would then ask to enter a name for the Excel file. The default saving directory from the Excel file could be modified within the Lisp script only.
The routine would ignore everything in the selection that is not text. It would extract all types of texts (mtext, dtext, etc.).
Do you think that this routine can be written?
I really hope someone will be able to help me, because this routine could help not only me but many of my colleagues.
Thanks a lot for looking at my request!
If you need more details, just ask me.
JBT