Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I would like to change the size and position of the label on this lisp.
Someone can help me, please?
Many Thanks
Size: 150
Postition: top-center from the point
(defun c:zpt ( / i p s )
(if (setq s (ssget '((0 . "POINT"))))
(repeat (setq i (sslength s))
(setq p (assoc 10 (entget (ssname s (setq i (1- i))))))
(entmake
(list
'(000 . "MTEXT")
'(100 . "AcDbEntity")
'(100 . "AcDbMText")
(cons 1 (strcat "Z = " (rtos (cadddr p))))
p
)
)
)
)
(princ)
)
Solved! Go to Solution.