[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Calculate Total Object Length
Tip# 3475 By Lee McDonnell On 10-Aug-2010
Rated By 1 users Downloaded : 1247
Categories : Distance, Export
Software type : AutoCAD 2011
Rename File To : LenCal/,LenCal/LenCal 1.7 Dialog.png,LenCal/LenCal 1.7 Settings.png,LenCal/LenCal V1.7.lsp
With the help of a filter, select objects by layer, color, or linetype and calculate their total length.

Length Calculator from Lee McDonnell will calculate the total length of user-specified objects in an AutoCAD drawing, using a filter to help you select objects by layer, color, or linetype. Start by loading the LISP routine and running the command LenCal. A dialog box will appear where you can select the filter type and output table style.


There is also an Options button that opens a second dialog box where you can choose the entity types to select, as well as change the output type to a file. After making your selections, press the OK button. If a table is your output choice, you will be prompted to select a point for the table; otherwise, you will be prompted for a file name. Note that there is no DCL file needed because the LISP routine creates it on the fly, which avoids the problem of missing dialog box files when sharing routines. Nice work, Lee.


Average Rating:

User comments

Log In