I learned this mostly between this web site and the tek-tips site. (plus reading different help files once I heard of the commands)
(I am using Autocad lt 2000 and access 97)
(Do not use spaces or you may need to find other ways of doing this)
1st) how to make a "block" that includes useable text
under Draw/Block/Define attributes
Make Tag and prompt the same thing because its hard to find out what tag is later.
Specify piont, text height, etc
do this for as many tags as you intend to use (start with only 2 as you try to figure everything out)
2nd) Save the file (ex block.dwg) in an easy to reach location
(ex c:\Autocad\Blocks)
3rd) Close autocad and start Autocad again (just to have a clean slate
type -insert at the autocad prompt
It will ask you "Enter block name or [?]:" enter in your filename with path (c:\Autocad\Blocks\block.dwg)
now it will ask you about where to place it, what scale and angle
0,0,0 (location)
1 (x scale)
1 (y scale)
0 (angle)
then it gives you the prompt for your different text inputs
once your text inputs are in it will display everything on the screen.
4th) save the file under its new name
Now that the text is in there you can figure how to automate it by running a batch/script routine with the drawing
write a .scr file with the same text you just put in. (a .scr file is just a text file with the extension.scr)
-insert
c:\Autocad\Blocks\block.dwg
0,0,0
1
1
0
first_text_here
Second_text_here
you can run a script file from Autocad under tools/run script
you will also be able to do it by starting autocad with some extra text after it. (/b c:\autocad\blocks\script.scr)
now to extract(attribute extraction) the information you need to make a template file for Autocad. I'm running late so I'll explain this later. Let me know if you get through the first part .
Tim