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.