AutoCAD Tip: Convert MTEXT to Multileader

26 April 2018All, Architecture and Engineering, Construction, Fabrication, Manufacturing



Recently I have had several calls asking if it was possible to convert regular MTEXT to a multileader.  Well, AutoCAD doesn’t have the capabilities to do so, but I found a snazzy lisp routine years ago on the AutoCAD Tips blog that does the trick.  In theire blog titled Add Leader to Text – Make Multileader they have this lips routine:

(defun c:mt2ml ( / oobj nobj nstrg)
(setq oobj (vlax-ename->vla-object (car (nentsel “nSelect source text: “))))
(if (= (vlax-get-property oobj ‘ObjectName) “AcDbMText”)
(setq nstrg (vlax-get-property oobj ‘TextString))
(command “_MLEADER”)
(while (= 1 (logand (getvar “CMDACTIVE”) 1)) (command PAUSE))
(setq nobj (vlax-ename->vla-object (entlast)))
(if (= (vlax-get-property nobj ‘ObjectName) “AcDbMLeader”)
(vlax-put-property nobj ‘TextString nstrg)
(entdel (vlax-vla-object->ename oobj))

I could not attach the lisp routine to the post as stated in the video.  Simply copy the red text above to a Notepad file and save it as MT2ML.lsp and it will be ready to use.  Once done and loaded in AutoCAD this should happen:

New call-to-action

What’s new in GRAITEC release 2025

21 June 2024All, GraitecIsa

The release of GRAITEC PowerPack and Advance Design 2025 marks a major advancement for designers, engineers, and detailers, offering an…

System Requirements for Bluebeam Revu 21

15 January 2024All, BluebeamRick Kremer

following are minimum and recommended requirements when using Bluebeam Revu with office documents and construction project documents

System Requirements for Autodesk Revit 2024

10 April 2023All, Architecture and Engineering, autodesk, Digital Transformation, MEP, RevitEric Daniel

List of system requirements for using Autodesk Revit 2024 and Revit LT 2024, entry level and performance level, plus Citrix,…