Yesterday I blogged about the data extraction command (dataextraction.) I failed to mention that command was new to AutoCAD 2008. However, there are several other commands that have been around for a while that can be used. They are not as cool as dataextraction, but they might be able to give you the options you need. Lets go.
The ATTEXT command has been around since at least Release 12. It will count blocks and extract the data from them. It has the ability to place this data in an external file. There are three file types; CDF (comma delimited file), SDF (space delimited file), or a DXF (format extract file). The CDF and SDF files require a template file that has been created in ascii form. This can be difficult to do if you do have a working understanding of this type. For many releases it was the only way to extract data.
So, start the command, select the objects, the file type, the template, the output file and have at it. I have found that this command can be difficult to use, so I use other options that are available.
The EATTEXT command will now start the dataextraction command in AutoCAD 2008. Eattext came to us in AutoCAD 2002. Thank goodness because the attext command was tough to use. Ok, start the EATTEXT command (I always get hungry when I use this one.) Determine your extraction type; objects, current drawing, or select drawing. You will have choices (as always) that will include the current drawing only, or to include xref files too. If there are nested blocks you will get the option of picking those too, or not. You will then be able to select your output file type, CSV, TXT, XLS, or MDB.
These are two of the “old school” methods of extracting block data from a drawing. However, the dataextraction command that is new in AutoCAD 2008 can get you info on any object, not just blocks!! If you haven’t switched to 2008 yet and you need to use the data in your files, maybe this will be reason enough to upgrade!!
If not, I hope this post helped.