In the previous part, we created an AutoCAD block with an attribute. In this part we will be extracting the information from the inserted blocks.
Currently, I have inserted three blocks as shown.
To create a table export of the information, select the Table tool in the Home Tab and Annotation Panel. Then select the “From object data in the drawing” option. Click Ok.
If AutoCAD asks you to Save please do so. On Page 1 select the “Create a new data extraction” option and click Next.
Now you’ll have to save the data extraction Pages in a file. Give it a name. As example: “manhole export” and click Save.
In Page 2 make sure the option “ Include current drawing” is selected. Click Next.
On the next Page unselect all the Object by right-clicking on an item on the left and selecting “Uncheck All”.
Then select only the Manhole block object. Click Next.
On Page 4 uncheck all again by right-clicking on the left column.
Then only select the properties you want to include in your table. In this case, I selected the X, Y coordinates as well as the “Node_No” attribute. Click Next.
On Page 5 you’ll see the preview of the table.
To add a simple Total underneath the Count column right-click on the column and select Totals Footer.
You’ll see the Preview has a Totals underneath the Count column, effectively showing the user how many of these blocks have been inserted. Click Next.
At Page 6 make sure only the “Insert” option is selected. Click Next.
Page 7 gives you the option to select a different Table Style. Click Next.
And then click Finish.
Then select a point on the drawing to place the table.
Then Zoom in and have a look at the table.
As you can see the X and Y positions of each of the blocks are shown as well as how many blocks are used.
This process is very useful if you want to place multiple objects in a drawing and need to count how many there are and /or need to record their positions. In this example we added the X, Y Values to each block to show its position in the drawing.