AC 2004 LT, export all text to a text file

Feb 26, 2008 2 Replies

Hi, I am using acad 2004 LT and wish to be able to run a script that grabs all the free text on the screen and exports it to a text file, be it .csv or tab deliminated. I know how to program VB and C++, but this is beyond me at the moment.



I don't need to look into blocks and all that, I just need the text freely available on the screen.



Can one of you kind lads post some script code please.



Thanks Stu


I think you're going to need a lisp for that, Stu. Scripts just run commands, and there's no combination of commands I can think of that will do what you want.

A laborious, but low tech solution might be to DXFout the drawing and then use a word processor to cull all the junk. The beginning of each text object's data will begin with

0 TEXT

The value of the text object will follow the value "1" a few lines later...

A simple lisp would handle this but won't run on vanilla LT.

OK, thanks for that, I thoughthat script might have been a new word for LISP.

Thanks Stu

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required