My Photo
CADit

Enter your email address:

Delivered by FeedBurner

Between the Lines

RobiNZ CAD Blog

Between the Poles

Twitter Updates

    follow me on Twitter

    « Getting Images into AutoCAD Map 3D - Data Connection by FDO Provider | Main | Autodesk Data Management Server 2008 Service Pack 1 - Don't install it just yet... »

    August 29, 2007

    Extracting Point Data from AutoCAD - Using Data Extraction

    Here's a quick and crude example of getting point data out of AutoCAD 2008.

    There is of course a lot more functionality for managing points in AutoCAD Map 3D and AutoCAD Civil 3D, but it is also possible to do some data manipulation/extraction from plain AutoCAD. So if you need to do this, here's a quick example...

    I have setup a new drawing with a single block definition comprised of a Point and a single Attribute definition (the attribute tag is ID, to represent the ID of each point)

    I have inserted 5 points, as shown, with ID's from 1 to 5...

    image

    Start the Data Extraction command, either by typing EATTEXT at the command line, or by selecting Data Extraction...  from the Tools pull-down menu

    image

    The Data Extraction Wizard starts...

    Page 1 - Select Create a new data extraction and click the Next... button

    In the Save Data Extract As dialog browse to a suitable location and provide a name for the data extraction definition file

    When completed, you are returned to Page 2 of the wizard

    Page 2 - Accept the default selection of Current Drawing and click the Next... button

    image

    Page 3 - Un-tick all items in the list except the entry for the Point Block and click the Next... button

    image

    Page 4 - I just want to extract the ID, coordinates and elevation details, so I have un-ticked some of the entries in the Category Filter and then un-ticked the scale entries in the Property list, when complete click the Next... button

    image

    Page 5 - Shows me a preview of my data and gives me the opportunity to reorder and sort columns, filter results, add formula columns, and create external data links.

    I want to sort the data by the point ID's as they are currently not in order

    image

    You can sort the data simply by clicking on the column headers...

    image

    When complete click the Next... button

    Page 6 - allows me to select the output types, I will insert the data extraction as an AutoCAD table and extract the data to an Excel file

    image

    When complete click the Next... button

    Page 7 - Allows me to setup the table style, I will accept the defaults for this example and click the Next... button

    image

    Page 8 - is the final confirmation screen... click the Next... button to complete the process

    image

    You are then prompted for an insertion point for the table...

    image

    TrackBack

    TrackBack URL for this entry:
    http://www.typepad.com/services/trackback/6a00d83544ff2953ef00e54ee851478834

    Listed below are links to weblogs that reference Extracting Point Data from AutoCAD - Using Data Extraction:

    Comments

    Verify your Comment

    Previewing your Comment

    This is only a preview. Your comment has not yet been posted.

    Working...
    Your comment could not be posted. Error type:
    Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

    The letters and numbers you entered did not match the image. Please try again.

    As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

    Having trouble reading this image? View an alternate.

    Working...

    Post a comment

    Comments are moderated, and will not appear until the author has approved them.

    Links

    • CADit - General CAD Blog

    Visitor Map

    Blog powered by TypePad

    Search

    • Google

      WWW
      cadit.typepad.com

    My Online Status

    June 2009

    Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4 5 6
    7 8 9 10 11 12 13
    14 15 16 17 18 19 20
    21 22 23 24 25 26 27
    28 29 30