Author Topic: Mleader help  (Read 2123 times)

0 Members and 1 Guest are viewing this topic.

mgtricon

  • Guest
Mleader help
« on: December 13, 2010, 02:12:21 PM »
I am trying to select a block and get the block name then create a Mleader and have it automatically populate the mleader block attribute.
I can get the Block name by (cdr (assoc 2 (entget (ssname (ssget) 0)))), but how do I draw a mleader with style and use the block name for the attribute.

cmwade77

  • Swamp Rat
  • Posts: 1443
Re: Mleader help
« Reply #1 on: December 13, 2010, 03:04:07 PM »
My post here should help get you going:
http://www.theswamp.org/index.php?topic=25840.msg411202#msg411202

The routine converts regular leaders into mleaders, including with blocks with attributes.