Measuring multiple lines, polylines, and arcs in AutoCAD can be a repetitive task. Manually summing their lengths is not only time-consuming but also prone to errors.
To solve this, CodeHaks TotalLength offers a simple, dedicated interface to automate this process. It’s a lightweight add-on designed specifically for AutoCAD 2024 and 2025.
What is CodeHaks TotalLength?
CodeHaks TotalLength is an open-source AutoCAD plugin that calculates the total length of selected objects (lines, polylines, arcs) instantly. It provides a clean UI to filter object types, view the object count, and get the aggregated length — all with a few clicks.
Key features
- Object filtering — select specific types (Lines, Polylines, Arcs) or all at once.
- Instant calculation — displays the total length of the selected set immediately.
- Object count — shows how many objects were counted in the selection.
- User-friendly interface — a simple, non-intrusive window that keeps you productive.
- Easy command — launch the tool using the
ZLencommand.
Installation & setup
- Download the release. Go to the Releases section and download the latest
.zipfile. - Extract the files. Unzip to a permanent location.
- Load the plugin in AutoCAD.
- Open AutoCAD 2024 or 2025.
- Type
NETLOADand press Enter. - Browse and select
CodeHaks.TotalLength.dll.
- Run the tool. Type
ZLenand press Enter — the main window appears.
How to use
- In the Object Types panel, check the boxes for the types to include (e.g., Lines and Polylines).
- Click Select Objects.
- In the AutoCAD drawing area, select the desired objects and press Enter.
- The Total Length panel instantly displays the total length and object count.

Why use this plugin?
- Accuracy — eliminates manual calculation errors.
- Speed — cuts the time spent on quantity takeoffs or material estimations.
- Free & open source — MIT-licensed, contributions welcome.
Requirements
- AutoCAD versions: 2024 or 2025
- .NET Framework: 4.8 or later
Get involved
The project is actively maintained at github.com/codehaks/acad-TotalLength. Report issues, suggest features, or open a pull request.
Streamline your AutoCAD measurements today with CodeHaks TotalLength.
