Message 1 of 17
change text height
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I wrote this simple LISP to change text height to 0.1 everywhere in the drawing. VLIDE does not give me any error. But when I run it just sits there. Seems like there is an endless loop. What am I doing wrong.
Thanks.
(defun c:chtxt(/ ss i a b) (setq ss (ssget "_x" '((0 . "*text*")))) (setq a (ssname ss i)) (setq i 0) (while (/= a NIL) (setq b (entget a)) (setq b (subst '(40 0.1) (assoc 40 b) b)) (entmod b) (1+ i) (setq a (ssname ss i)) ) (princ) )