KL - Count & Total Length
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | KL |
|---|---|
| Category | Measuring and Totals |
| Author | Zaid Serieh (ZUS KILLER) |
| Source | ZUS-KILLER/KL-LSP |
| License | MIT |
| Requirements | AutoCAD, AutoCAD LT 2024 or later, BricsCAD (no ActiveX calls) |
| Prompt language | English |
| Files | KL.LSP (2 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
KL lists the length of each selected line, polyline and spline on the command line and shows the object count and total length in an alert box.
KL is a simple measuring tool for quickly finding the total length of linear items such as cables, pipes or curbs. It shortens quantity takeoffs where you would otherwise check objects one by one with LIST or Properties.
Overview
The command selects LINE, LWPOLYLINE, POLYLINE and SPLINE objects. Line length comes from the distance between the endpoints; for the other types the AREA command is run and the length is read from the PERIMETER variable. Each object's length is printed numbered on the command line, and the object count and total length are shown with 3 decimals in an alert box and on the command line.
How to use it
- Load KL.LSP with APPLOAD.
- Type KL at the command line.
- Select the lines, polylines and splines to measure and press Enter.
- Read the individual lengths on the command line and the total in the alert box.
Notes and limitations
- Does not change the drawing; it only reports results.
- Polyline and spline lengths come from a separate AREA command per object, so large selections are slow and AREA output appears on the command line.
- Arcs, circles and ellipses are not included in the selection.
- Lengths are in drawing units, rounded to 3 decimals.
Source and license
This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.
- KL.LSP (2 KB)
- License text
References
- Source repository: ZUS-KILLER/KL-LSP – https://github.com/ZUS-KILLER/KL-LSP
- Author: Zaid Serieh (ZUS KILLER) – https://github.com/ZUS-KILLER
- License: MIT – https://github.com/ZUS-KILLER/KL-LSP/blob/9d3f4a9c5c6eb0ec9d21f456798165cf4549d03f/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal