Attribute values to Excel (Specific selections only)
Attribute values to Excel (Specific selections only)
(OP)
Is there anyone who deals with VBA in Excel that can tell me how to access selected values of attributes based on name and/or layer and list in Exel. It will work as a BOM start to combine what is in my drawings with my database of company parts and numbers. I know a small amount of VBA (enough to get in trouble!!!) and I know about the extract sample in autocad but all I want is the values. also need to send different named att's to the same column as some blocks have more than one part therefore more than one tag name.
Hope this is not to much
Thanks
Mike N.
Hope this is not to much
Thanks
Mike N.





RE: Attribute values to Excel (Specific selections only)
There is a good sample offered by Autodesk for extracting attributes from DWGs to Excel sheets. Refer to:
AutoCAD\Sample\ActiveX\ExtAttr
A XLS file, a DWG file, and a txt file will be found in the mentioned folder. Open the readme.txt and follow its instructions to run the macro in Excel.
Studying this sample macro code in Excel will teach you a lot for extracting data from DWG attributes.
:)
Farzad