I'm rusty at this, below is a piece of lisp that i wrote. It is basically a part of a routine to select a piece of text in a titleblock (it is an old cad file and it has no attributes, it is just dumb text). The text appears in the same location every drawing (about 200 of them, ISO's). It just woudn't seem to select the text. when i manage to select the text i will extract the contents and write it to a file along with the filename and file loaction etc. Can anyone see where i'm going wrong?
Here is my original lisp, but for this one i need to select the text individually.
(setq f
(open "c:\\Documents and Settings\\ryand\\Desktop\\Isodata.txt" "a"))
I've been tryin to sustitute the code below to pick the text via a window croosing or point click etc, but i'm im getting no where
Any help or pointers would be greatly appreciated.
What i'm trying to do.
Open the cad file select the piece of text extract the contents and write that to a txt file (write-line) its actually 3 different pices of text in the drawing but the same process will apply. (filename - tag - the revision) All dumb text.