See the top rated post in this thread. Click here

Results 1 to 5 of 5

Thread: Populating a dialogue box with attributes from a autocad title sheet

  1. #1
    Member
    Join Date
    2006-02
    Posts
    2
    Login to Give a bone
    0

    Default Populating a dialogue box with attributes from a autocad title sheet

    Can anyone help

    I'm like to write a macro that will pull the attributes from an Autocad drawing and place them in a dialog box, which I will export to excel.

    My VBA skills are rather limited so any advice would be most welcome.

    Regards New Member

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,420
    Login to Give a bone
    0

    Default Re: Populating a dialogue box with attributes from a autocad title sheet

    There's a vba project that comes with acad that does that. Just make sure you installed the sample files.
    C:> ED WORKING....


    LinkedIn

  3. #3
    AUGI Addict MikeJarosz's Avatar
    Join Date
    2015-10
    Location
    New York NY
    Posts
    1,497
    Login to Give a bone
    0

    Default Re: Populating a dialogue box with attributes from a autocad title sheet

    Why not make your title block an ACAD table with fields? Acad then allows you to export a table as a comma delimited file. No VBA neccessary here. If you haven't discovered fields yet, you are missing the best new feature in Acad in a while.

    You need 2005 or 2006, preferably '06.

  4. #4
    Member
    Join Date
    2006-02
    Posts
    5
    Login to Give a bone
    0

    Default Re: Populating a dialogue box with attributes from a autocad title sheet

    AutCAD 2005 and 2006 have an attribute extraction tool (Tools>Attribute Extraction) that does exactly what you are asking for. It uses a wizard type dialog box that goes through a few steps to allow you to filter out what attributes you want export and then you can export to several different formats, .xls being one of them. This may be what MikeJarosz is talking about but maybe he has a different method too. Good luck

  5. #5
    AUGI Addict MikeJarosz's Avatar
    Join Date
    2015-10
    Location
    New York NY
    Posts
    1,497
    Login to Give a bone
    1

    Default Re: Populating a dialogue box with attributes from a autocad title sheet

    Quote Originally Posted by adamc
    AutCAD 2005 and 2006 have an attribute extraction tool (Tools>Attribute Extraction) that does exactly what you are asking for. It uses a wizard type dialog box that goes through a few steps to allow you to filter out what attributes you want export and then you can export to several different formats, .xls being one of them. This may be what MikeJarosz is talking about but maybe he has a different method too. Good luck
    Not really. Attribute extraction from blocks in Acad is old hat. Check out attext and ddattext. Fields and tables are a whole new ballgame. For example, a field can be linked to the area of a polygon. The field will display the poly area on the drawing and update when the poly changes. Or it can display the filename of the drawing. If I do a saveas to a new filename, the field will update to the new filename.

Similar Threads

  1. Populating multiple attributes with the same value
    By LSElite in forum Dynamic Blocks - Technical
    Replies: 3
    Last Post: 2023-04-02, 09:31 PM
  2. 2014: Sheet Set Title Blocks - Attributes
    By mhutchinson.121719 in forum AutoCAD Sheet Set Manager
    Replies: 1
    Last Post: 2014-12-10, 12:38 AM
  3. Replies: 14
    Last Post: 2013-05-15, 03:44 PM
  4. title block and attributes in autocad 2004
    By mescamilla in forum AutoCAD General
    Replies: 2
    Last Post: 2010-09-16, 02:25 PM
  5. Replies: 1
    Last Post: 2007-03-06, 05:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •