Message 1 of 4
how to LISP routine reads text and print to csv file

Not applicable
10-30-2018
04:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys,
I know this task is simple but I'm very rusty on autolisp... I do not remember anything of it, ****
I've a directory with 2000 dwgs and I need to extract 2 text from any of them and print all on a csv file.
All these dwgs have the texts (simple text) I need at precise coordinates.
Text 1 is at 291.3835, 21.7590, 0.0000
Text 2 is at 337.8941, 10.9997, 0.0000
So basically I need a routine that "reads" the content of Text 1, reads the content of Text 2 and prints these two contents in a row in a csv file, then close the current dwg and process the next one till all dwgs of the directory specified are done.
I hope to have been clear... Thanks in advance to all want to help me.