We often need to annotate the total length in AutoCAD, there are several ways to show the total lengths of lines, polylines, and other objects in AutoCAD. You should use the proper tools to enhance your productivity. Tlen lisp file can be used in AutoCAD for the representation of total lengths in AutoCAD.
The Tlen AutoCAD Lisp File for total lengths is a useful tool for drafters and designers who want to calculate the lengths of AutoCAD objects quickly. It provides a way to annotate the lengths of objects from the user’s drawing using only AutoCAD commands.

Calculate the total length of multiple objects of user-selected types, including lines, arcs, polylines
- Total Length Lisp AutoCAD Free Download
- Profile Lisp AutoCAD Free Download
- DimExp Lisp – A Must-Have Tool for CAD Users to Export Dimension Values in AutoCAD
- 10 Ways to Make Money From CAD Outsourcing | Auto CAD and Microstation
- How to Edit Multiple Attributes at Once In Autocad
Copy the code in the below text window and paste it into a new text document, go to file, and save the text document, name the document; Tlen (Total Length).lsp.
Don’t forget to change the file extension from .txt to .lsp.
;;--------------------=={ Total Length }==--------------------;;
;; ;;
;; Displays the total length of selected objects at the ;;
;; command line. The units and precision format of the ;;
;; printed result is dependent upon the settings of the ;;
;; LUNITS & LUPREC system variables respectively. ;;
;;------------------------------------------------------------;;
;; Author: Lee Mac, Copyright © 2013 - www.lee-mac.com ;;
;;------------------------------------------------------------;;
(defun c:tlen ( / e i l s )
(if (setq s
(ssget
'( (0 . "ARC,CIRCLE,ELLIPSE,LINE,*POLYLINE,SPLINE")
(-4 . "<NOT")
(-4 . "<AND")
(0 . "POLYLINE") (-4 . "&") (70 . 80)
(-4 . "AND>")
(-4 . "NOT>")
)
)
)
(progn
(setq l 0.0)
(repeat (setq i (sslength s))
(setq e (ssname s (setq i (1- i)))
l (+ l (vlax-curve-getdistatparam e (vlax-curve-getendparam e)))
)
)
(princ "\nTotal Length: ")
(princ (rtos l))
)
)
(princ)
)
(vl-load-com) (princ)
These are the steps to follow when using the Tlen.lsp file. It is an incredibly powerful tool that you can use to show the lengths quickly. This tutorial will show you how to create a road profile in AutoCAD in a few easy steps.
- Total Length Lisp AutoCAD Free Download
- Profile Lisp AutoCAD Free Download
- DimExp Lisp – A Must-Have Tool for CAD Users to Export Dimension Values in AutoCAD
- Download Free AutoCAD Lisps for Surveyors
- AutoCAD Lisp File For Coordinates Free Download
Follow these steps to upload the lisp file in AutoCAD;
In conclusion, this tool will save you hours of work by automating repetitive tasks.