Message 1 of 7

Not applicable
05-31-2021
06:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Solved! Go to Solution.
Solved! Go to Solution.
I did but the labelled coordinates were not world coordinates, I need to edit manually. Is there other lisp to fix it ?
@Anonymous wrote:
This?
(defun c:demo ( / pt pt1 txtx txty txtz)
(if (and (setq pt (getpoint "\nSpecify a point to labell: "))
(setq pt1 (getpoint pt "\nSpecify text starting point: "))
)
(progn
(setq pt (trans pt 1 0)
pt1 (trans pt1 1 0)
txtx (strcat "E=" (rtos (car pt) 2 3) "\n")
txty (strcat "N=" (rtos (cadr pt) 2 3) "\n")
txtz (strcat "L=" (rtos (caddr pt) 2 3) "\n")
)
(command "_.ucs" "_v"
"leader" "_non" (trans pt 0 1) "_non" (trans pt1 0 1) "Annotation" txtx txty txtz ""
"_.ucs""_p")
)
)
(princ)
)
Hope this helps,
Henrique
Wow great! It works, really really thanks!!
@Anonymous wrote:
Wow great! It works, really really thanks!!
You're welcome, @Anonymous
Glad I could help
Henrique