Function Syntax: TLENGTH Version: 1.0 Date: 20.06.2026 6:38:49PM AI+https://gist.github.com/kevinluo201/51450de14f63382c046c6d840bb42c96 📏 Function Syntax: TLENGTH Command: TLENGTH 🚀 TLength is an AutoCAD AutoLISP length calculator for quickly measuring the combined length or perimeter of selected drawing objects. The tool prints the total value in the AutoCAD command line and copies the clean numeric result directly to the Windows clipboard. 📘 SEO Optimized Description 📐 Use TLENGTH to calculate total AutoCAD object length from multiple selected entities in one fast command. 🧰 The command supports LINE, POLYLINE, LWPOLYLINE, ARC, CIRCLE, ELLIPSE, SPLINE, MLINE, REGION, and MPOLYGON objects. 📋 The calculated value is automatically copied to the clipboard, making it practical for Excel quantity takeoff, BoQ tables, reports, labels, schedules, and CAD production checks. ⚙️ Functionalities 📏 Total length calculation - sums selected linear and curved AutoCAD entities into one combined value. 📐 Polyline and line support - reads lengths from standard line, polyline, lightweight polyline, and 3D polyline objects. 🌀 Curve support - measures arcs, circles, ellipses, and splines using AutoCAD curve data. 🧱 Special object support - includes MLINE coordinate lengths plus REGION and MPOLYGON perimeter values. 🔢 Formatted result - outputs the final length with four decimal places. 📋 Clipboard export - copies the numeric result automatically for immediate paste into Excel or reports. 🖥️ Command line feedback - displays whether one object or multiple objects were measured. 🔒 Non-destructive workflow - reads geometry lengths without changing selected drawing objects. ✅ Practical Result TLength provides a quick AutoCAD and Civil 3D quantity-check workflow for measuring total selected geometry length and reusing the value in documentation, Excel, and BoQ calculations. ⚠️ Important Notes The result uses the current drawing units and does not perform automatic unit conversion. The tool returns one combined value only; it does not split the result by layer, object type, color, or linetype. MLINE length is calculated from coordinate segments, so complex multiline visual styles may need manual review.