Hello,
I have an AutoCAD Drawing with different Blocks. These blocks have some of the attributes names in common (Height, Length & Width).
Can I extract the attribute data from selected area in drawing to an existing excel sheet with standard template such that the block name comes under column named "Block Name", Value of Height Attribute comes under column "Height" and so on?
Here are the list of things I wanted to do in attached drg
1. Extract data from some blocks (Block Names are: SA GRILLE, SA Slot Diffuser, SA Sq Diffuser, Shoe Piece, Straight Duct, Transition, Elbow) from selected area on drg.
2. Extract the values of Attributes named WIDTH, HEIGHT, WIDTH2, HEIGHT1 & LENGTH
3. The Data should be extracted to an existing excel sheet as attached.
4. The data extracted should come under respective column label.
Is this feasible using VBA?
Here are some links which are helpful but I couldn't get desired results using those.
http://www.lee-mac.com/macatt.html
http://www.cadtutor.net/forum/showth...ing-excel-file
Attachments:
Dynamic Blocks Data.xlsx
Dynamic Blocks.dwg