help!!! thousand of line length output

Discussion in 'AutoCAD' started by cn, Apr 21, 2004.

  1. cn

    cn Guest

    Hi, all

    I am currently doing on a huge 3D model files for tensioned membrane
    project. I need to capture all the cable length, (there will be thousand of
    them) and tabulate them in excel or word. Anyone who know how should i do
    for shortcut? ie. getting the length of a line and either put a table in
    autocad or export to csv file...

    Thanks

    Collin
     
    cn, Apr 21, 2004
    #1
  2. cn

    Chris Cheney Guest

    One way would be to use VBA (either directly from within AutoCAD or, using
    (OLE) Automation, from within Word/Excel), selecting all the relevant lines
    (=cables) and then iterating through the SelectionSet.

    HTH
     
    Chris Cheney, Apr 21, 2004
    #2
  3. cn

    bestafor Guest

    HiHo;
    Go to www.cadalyst.com and search "get the code".
    In particular look at Feb99 for a program that totals all lines.
    In particular look at No99 for a program that writes the lines to a xy file.
    In particular look at Apr00 and Dec02.
     
    bestafor, Apr 21, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.