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 ZLen command.

Installation & setup

  1. Download the release. Go to the Releases section and download the latest .zip file.
  2. Extract the files. Unzip to a permanent location.
  3. Load the plugin in AutoCAD.
    • Open AutoCAD 2024 or 2025.
    • Type NETLOAD and press Enter.
    • Browse and select CodeHaks.TotalLength.dll.
  4. Run the tool. Type ZLen and press Enter — the main window appears.

How to use

  1. In the Object Types panel, check the boxes for the types to include (e.g., Lines and Polylines).
  2. Click Select Objects.
  3. In the AutoCAD drawing area, select the desired objects and press Enter.
  4. The Total Length panel instantly displays the total length and object count.

CodeHaks TotalLength Main Window

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.