
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm new to the group, and have been having an issue altering my code for my lisp to display x and y coordinates.
I currently am using this;
(defun c:xyz (/ pick1 pick2)
(setvar "cmdecho" 0)
(setq Origin (getpoint "\nPick Origin for labels: "))
(while
(setq pick1 (getpoint "\nPick point to label <Enter to stop> :"))
(setq pick2 (getpoint pick1 "\nPick leader end point :"))
(setq Delx (- (car Pick1) (car Origin)))
(setq Dely (- (cadr Pick1) (cadr Origin)))
(command "._LEADER" pick1 pick2
"_Annotation"
(strcat "X= " (rtos Delx 2 3))
(strcat "Y= " (rtos Dely 2 3)) "" ) )
(setvar "osmode" UserOS)
(setvar "cmdecho" 1)
(princ) )
Everything works perfectly, except I'd like the leader to not have an arrow at the end of it.
Is there any way to alter the leader in the code above, or will i have to manually do it after?
Thanks,
Solved! Go to Solution.