- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a LISP function that sets the proper layer, sets the MLeaderstyle and prompts the user to enter the text. My problem is that when using this function, all my text is entered on a single line and my goal is to be able to use returns to format my text as I type. I find that when I just use the stock MLeader command and set it to Leader Landing First, I am able to enter multiple lines of MText and this solves my problem generally. I cant use this trick when using the LISP function because it is first asking me for the text, then doing the leader thing. So I am wondering if there is a way to set the Leader Landing First, click for that, then enter the text. Ideally this function would revert back to Leader Arrowhead First when complete. Below is my current function. Thanks for looking.
(defun c:plnot () (plnot))
(defun plnot (/ refltr)
(GV)
(ppa-L-POOLTXT)
(SETVAR 'CMLEADERSTYLE "mMLeaderPL")
(vl-cmdf "_.mleader" pause pause (setq refltr (getstring T "\n\t =>> Enter note : ")))
(SV)
(princ)
)
Solved! Go to Solution.