• Blog posts

    Bio

    by Dennis Collin

    DC_ACAD_convert_leader_ent_01.jpg

    Remember AutoCAD 2008? That release of AutoCAD introduced many new features like smart annotation scaling, multi-leader objects and many other enhancements.

    DC_ACAD_convert_leader_ent_02.jpg

    Fig. Old style quick leader objects are limited in editing and style options

    Leader annotations generally are text or symbolic notes used to label elements in busy drawings with an indicative arrow to show where the reference applies. Whilst the old legacy commands of Leader and Quick-leader still work in AutoCAD, they are considered obsolete tools as the new Multi-leader function introduced in 2008 provides much more functionality and are quicker to create and edit.

    My colleague Martin Phelps, outlines the functionality Multi-leader objects offer in a previous post here: https://www.cadlinecommunity.co.uk/hc/en-us/articles/201897992-AutoCAD-2014-Tip-Adding-a-Box-Around-Multi-Leader-Text

    Despite this, there will still be many old, legacy drawings that will still contain the old leader objects and a question that often arises during training is whether you can convert these old leader elements to the newer multi leader type. The answer is of course, yes using LISP!

    I have posted in the past working with Lisp routines here:

    https://www.cadlinecommunity.co.uk/hc/en-us/articles/360002856597-AutoCAD-Automating-tasks-in-AutoCAD-with-AutoLISP

    DC_ACAD_convert_leader_ent_03.jpg

    Fig. Using lisp routines to convert legacy AutoCAD objects

    A good source of Lisp routines can be found at Cadalyst.com with a link to a Lisp routine here:

    https://cadtips.cadalyst.com/multileaders/leader-multileader - Credit: Lyle Hardin

    This lisp routine can be accessed via the Appload function which provides a new command ‘LeadertoMleader’. Simply select the leader line and the text and they will be converted to a multileader element of the current style.

    DC_ACAD_convert_leader_ent_04.jpg

    Fig. Sample of Lisp code which converts legacy leader objects to their newer forms.

    Multi-leaders provide benefits of additional arrow references, enhanced control points, right click menus and display controls. In a similar way to how Polyline objects offer additional functionality over simple AutoCAD Line objects.

    DC_ACAD_convert_leader_ent_05.jpg

    Fig. Multileader objects support multiple arrow references which can be added or removed with a right click menu

    For more information on loading Lisp routines, start-up suites, Lisp websites and the Appload command itself read a previous Cadline Community post here:

    https://www.cadlinecommunity.co.uk/hc/en-us/articles/360002856597-AutoCAD-Automating-tasks-in-AutoCAD-with-AutoLISP