×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Attribute values to Excel (Specific selections only)

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.

RE: Attribute values to Excel (Specific selections only)

Dear freezer,
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources