Quick and dirty:
Code:(defun c:ql (/ pt1 pt2) (setq oldcmd (getvar "CMDECHO")) (setvar "CMDECHO" 0) (while (and (setq pt1 (getpoint "\nSelect First Point: ")) (setq pt2 (getpoint pt1 "\nSelect Second Point: "))) (command "_qleader" pt2 pause "" "" (strcat "IL +" (rtos (distance pt1 pt2) 2 2) "mm") "")) (setvar "CMDECHO" 1) (princ))




, please is there any body have a Lisp route that create a level dimension text just on the first pick the ground level and second pick to the bottom line of the pipe to get the distance height of pipe then the leader arrow head will position to the second pick, level text will position any were that i want.
me a route showing the image below
Reply With Quote

Bookmarks