ConvertLeaderAndText2Mleader

Short description

๐Ÿท๏ธ AutoCAD AutoLISP tool for converting old LEADER plus MTEXT annotation pairs into modern MLEADER objects while preserving text, style, layer, rotation, formatting options, and annotation workflow.

Command:

๐Ÿงฐ Main commands: LTM and Leader_To_Multileader. Run LTM for the short command alias or Leader_To_Multileader for the full command name.

Description:

๐Ÿš€ ConvertLeaderAndText2Mleader is an AutoCAD and Civil 3D AutoLISP utility that converts a selected legacy LEADER and MTEXT pair into a clean MLEADER object. The tool helps modernize old drawing annotations, reduce manual leader rebuilding, and keep CAD documentation consistent when updating legacy DWG files. It can optionally use an existing MULTILEADER as the style source, preserve MTEXT rotation, transfer text width and layer behavior, and erase the original LEADER and MTEXT after creating the new MLEADER.

Helper function: (if any)โ€‹

Comming soon …

Functionalities:

๐Ÿงฐ Select an existing MULTILEADER to reuse its style, scale, width, and visual behavior, or skip the step to use the current MLEADER style.
๐Ÿ” Convert one old LEADER and one MTEXT object into a new MLEADER object with a clean AutoCAD annotation workflow.
๐Ÿ“ Convert MTEXT content using Title case, Lower case, Upper case, Sentence case, Toggle case, or Keep case options.
๐Ÿงน Keep MTEXT formatting or remove MTEXT formatting codes with a Lee Mac unformat routine.
๐Ÿ“ Rebuild leader geometry from the original leader points, supporting straight leaders, dog-legged leaders, and simplified multi-vertex leaders.
๐ŸŽฏ Preserve MTEXT rotation and reuse text width when appropriate for cleaner MLEADER placement.
๐Ÿ“Œ Move the new MLEADER to the original MTEXT layer when no reference MLEADER is selected.
๐Ÿ”’ Use undo marks, error handling, CMDECHO restoration, OSMODE restoration, and safe selection prompts.
๐Ÿง  Support annotative object checks through ActiveX and dictionary inspection helpers.
โš™๏ธ Use helper routines for selection filtering, rounded point coordinates, string substitution, text unformatting, and annotative detection.

Result:

โœ… The final result is a modern MLEADER replacing the selected legacy LEADER and MTEXT pair. The old leader and text are erased, the new multileader receives the selected text content and style behavior, and the annotation becomes easier to maintain in AutoCAD or Civil 3D production drawings.

Images, animations etc.

Pixel

XAML code:

Comming soon ...

Share this page:

Leave a Reply

Page Tag: ๐Ÿท๏ธ Drawing annotation

  • ConvertLeaderAndText2Mleader

    โ€”

    by

    Short description Command: Description: Helper function: (if any)โ€‹ Functionalities: Result: Images, animations etc. XAML code: Expand Code โ†“ Select Code Copy Code Expand Code โฌ‡ Select Code Copy Code Additional info: Based on / Source code: Share this page:

  • AddVertex2Mleader

    โ€”

    by

    Short description Command: Description: Helper function: (if any)โ€‹ Functionalities: Result: Images, animations etc. XAML code: Expand Code โ†“ Select Code Copy Code Expand Code โฌ‡ Select Code Copy Code Additional info: Based on / Source code: Share this page: