Blocks can contain attributes, which are labels with properties. For example, you can use attributes to attach price and manufacturer information to a block of an office chair. At the bottom of this tip, I link to a tutorial on creating attributes.
Once you have the attributes, you can extract them to a simple database and open that database in Microsoft Excel, for example, or insert it as a table in your drawing.
Follow these steps to extract attributes:
Choose Tools>Data Extraction to open the Data Extraction Wizard. (In 2009, choose Blocks & References tab> Linking & Extraction panel> Extract Data.)
On the Begin page, choose the Create a New Data Extraction option, and click Next.
The Save Data Extraction As dialog box opens. You need to save the extraction as a DXE file. Enter a file name, navigate to a location, and click Save.
On the Define Data Source page, you can choose the Drawings/Sheet Set option which lets you extract from multiple drwaings, or the Select Objects in the Current Drawing option. For this tutorial, choose the latter option.
Click the Select Objects in the Current Drawing button to return to your drawing and select objects. You can select everything in the drawing if you want. When you end selection, you return to the wizard. Click Next.
On the Select Objects page, start at the bottom to specify which types of objects you want to display. In most cases, you can uncheck the Display All Object Types check box and check the Display Blocks with Attributes Only check box. Click Next.
On the Select Properties page, you choose which properties of the objects you want to include. The point here is that you can extract more than just the attributes you created. Here, I chose Attribute and Geometry from the Category list. specifically, I chose Position X and Y geometry properties. Click Next.
On the Refine Data page, you can specify how your data will appear. You can set sorting options and include links to external data. I unchecked the Show Count Column, because it just showed 1 for each block instance. Click Next.
On the Choose Output page, you can insert the results as a table in your drawing, output it to a file (XLS, CSV, MDB, OR TXT), or both. Choose the option(s) you want. If you choose to output to a file, click the ellipsis button below that option. The Save As dialog box opens. Enter a file name, choose the file type, navigate to a location, and click Save. Click Next.
On the Finish page, click Finish. If you chose the table option, you get a prompt for an insertion point.
Here's the drawing with the 3 blocks and their attributes, as well as the database in Excel.
This is the 9th edition of this book! Completely updated to conform to the new interface and, of course, it covers all the new features, such as the ribbon, Quick View, ShowMotion, the View Cube, the SteeringWheel, and more.
AutoCAD 2008 and AutoCAD LT 2008 Bible Learn the great new features with wide application to all disciplines. Get the most comprehensive book on AutoCAD! DVD contains a 30-day trial of AutoCAD and AutoCAD LT. Thorough exercises guide you through each feature.
AutoCAD 2007 and AutoCAD LT 2007 Bible Discover the 2007 features, especially the radically improved 3D tools. CD has AutoCAD 30-day trial, 3rd-party software, and drawings for exercises.
AutoCAD 2006 and AutoCAD LT 2006 Bible Understand and use the 2006 features,
including dynamic blocks and the new method of
customizing menus and toolbars. CD-ROM
has AutoCAD trial, software, and
drawings for all exercises.
AutoCAD 2005 and AutoCAD LT 2005 Bible
Fully explains latest
2005 features: tables,
fields, and sheet sets. For the first
time, covers AutoCAD LT! CD-ROM
comes with software and
drawings for all exercises.
AutoCAD 2004 Bible Covers all features
in detail. Hands-on exercises. Over
1300 pages + CD-ROM with software and
drawings for all exercises.