Function Syntax: LenCal Version: 1.1 Date: 20.06.2026 6:38:49PM https://forums.autodesk.com/t5/autocad-forum/length-of-selected-lines/td-p/7500132 📊 Description LenCalc is a dialog-driven AutoCAD AutoLISP length calculator for CAD quantity takeoff, drawing audits, and production measurement reports. It summarizes supported geometry lengths by Layer, Linetype, or Colour and exports the result to an AutoCAD table, TXT file, or CSV file. 🚀 Command Run LenCal in AutoCAD to open the Length Calculator V1.7 dialog. Functionalities • 📊 Opens a DCL dialog for length report setup, object type selection, output format, precision, and table style. • 🧭 Groups measured totals by Layer, Linetype, or Colour. • 🔍 Supports wildcard filtering so target layers, linetypes, and colours can be found quickly. • 📐 Measures LINE, LWPOLYLINE, POLYLINE, ARC, CIRCLE, SPLINE, and ELLIPSE objects. • 🧩 Uses AutoCAD curve functions to calculate accurate length values for selected object categories. • 📋 Places a formatted AutoCAD table with a title row, grouping name column, and total length column. • 📄 Exports a padded TXT report for review or documentation. • 📤 Exports a CSV report for Excel-based quantity takeoff and BOQ workflows. • 🔢 Provides precision choices from whole numbers to multiple decimal-place formats. • 🧠 Remembers session settings such as filter mode, selected objects, output mode, precision, open-with option, and table style. ✅ Result The result is a structured length report grouped by layer, linetype, or color, ready as an AutoCAD table, TXT file, or CSV file. This helps with CAD measurement checks, Civil 3D drafting review, quantity takeoff, BOQ preparation, and drawing production control. ⚠️ Notes AutoCAD table output requires table object support and an unlocked current layer. The routine measures only the object types enabled in the dialog and uses the current drawing units. Tags 🏷️ AutoCAD, 🏷️ AutoLISP, 🏷️ Civil 3D, 🏷️ CAD Automation, 🏷️ Length Calculator, 🏷️ CAD Table, 🏷️ TXT Export, 🏷️ CSV Export, 🏷️ Quantity Takeoff