See the top rated post in this thread. Click here

Results 1 to 8 of 8

Thread: Dimension Info to CAD Table and Excel

  1. #1
    Member
    Join Date
    2005-01
    Posts
    18
    Login to Give a bone
    0

    Default Dimension Info to CAD Table and Excel

    Hi,

    Could anyone help with this?

    I would like a lisp routine that would allow group selection of dimensions (of all types, linear, angular, arc length etc) and give the option of creating a table in CAD or in Excel (giving the choice of where to save and what filename to give) and then in that table i'd like column A to contain text override info (Object Code 1?) and column B to contain the actual measurement of the dimension (object code 42?).

    Could this also include Leaders? If i selected a Leader in the selection group could the routine also add the text from the leader in column A?

    Also, in column C contain the dimension type (Linear, Arc Length, Leader etc.)?

    Finally, some advice on how i could amend that lisp routine to add in extra object code data to extra table columns if i need to develop this further in the future.

    Thanks in advance.

    Rich.

  2. #2
    Active Member
    Join Date
    2015-12
    Location
    Western Europe
    Posts
    57
    Login to Give a bone
    1

    Default Re: Dimension Info to CAD Table and Excel

    Try the attached. It only does Excel (CSV) at the moment as I'm short on time to implement the Table part. Excel is the default at the "Select Format" prompt so return or right mouse click to proceed. Will work with dynamic prompt if active.
    Attached Files Attached Files

  3. #3
    Member
    Join Date
    2005-01
    Posts
    18
    Login to Give a bone
    0

    Default Re: Dimension Info to CAD Table and Excel

    Hi dlanor

    The excel bit works a treat! It's a timesaver already.

  4. #4
    Active Member
    Join Date
    2015-12
    Location
    Western Europe
    Posts
    57
    Login to Give a bone
    0

    Default Re: Dimension Info to CAD Table and Excel

    Attached is updated version that writes a table. Haven't quite ironed out the table size kinks yet.
    Attached Files Attached Files

  5. #5
    Member
    Join Date
    2005-01
    Posts
    18
    Login to Give a bone
    0

    Default Re: Dimension Info to CAD Table and Excel

    Hi dlanor,

    Thanks for the update. I've tried that version, the excel bit works a treat but the table bit crashes (well, just hangs forevever and ever!) when i get to the "click to insert" bit.

  6. #6
    Active Member
    Join Date
    2015-12
    Location
    Western Europe
    Posts
    57
    Login to Give a bone
    0

    Default Re: Dimension Info to CAD Table and Excel

    It works OK in 2012, perhaps this is textstyle or tablestyle problem where the current textstyle/tablestyle has a fixed height font. Would it be possible to upload a sample drawing (saved as AutoCAD2010 or earlier)?

  7. #7
    Member
    Join Date
    2005-01
    Posts
    18
    Login to Give a bone
    0

    Default Re: Dimension Info to CAD Table and Excel

    Just tried it again and it seems to work fine. I was in Civils 3D before so maybe that was the issue.

  8. #8
    All AUGI, all the time
    Join Date
    2003-07
    Posts
    559
    Login to Give a bone
    0

    Default Re: Dimension Info to CAD Table and Excel

    I work in CIV3D all the time and have no table creation problems so it sounds like a text style problem.

Similar Threads

  1. Replies: 0
    Last Post: 2019-12-24, 06:25 PM
  2. Toggle to convert model info into drafting info (and back)
    By Wish List System in forum Revit Architecture - Wish List
    Replies: 1
    Last Post: 2018-05-13, 02:04 AM
  3. Excel Table to AutoCAD Table.
    By Spenner in forum AutoCAD Tables
    Replies: 23
    Last Post: 2017-08-14, 07:17 AM
  4. Linking info between AutoCAD 2006 and Excel?
    By Greg.Holtzman in forum AutoCAD General
    Replies: 9
    Last Post: 2006-08-02, 11:12 AM

Tags for this Thread

Posting Permissions

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