Hi,
I am trying to align mleaders in a simple lisp file. The lisp file creates the mleaders and then using "mleaderalign" command I am trying to align them using spacing.
The problem is when I have to choose the base mleader to create the spacing from. I cannot seem to select it. I have tried several variations without success. Does anyone have any ideas?
I want if possible to avoid the user having to select it. Thanks
Code:
(defun c:Test (/ MLDRS ML1)
(command "_mleader" "_ov" "11,9.5" "16,9.5" "Some Text here, and a bit more here" "9,7.5" "")
(setq ML1 (ssget "_L"))
(command "_mleader" "ü" "11,8.5" "16,8.5" "Some Text here, and a bit more here and then some more" "9,6.5" "")
(command "_mleader" "ü" "11,7.5" "16,7.5" "Some Text here, and a bit more here and that should be enough" "9,5.5" "")
(setq MLDRS (ssget "_X" '((0 . "Multileader"))))
(command "_mleaderalign" MLDRS "" "_o" "_s" "1" ML1 "-1")
)