- (defun c:ghzk (/ ss)
- "ghzk(改换字宽):将原有文本的字宽改为新字宽。"
- (xyp-Start)
- (princ "\n将原有文本的字宽改为新字宽")
- (or $tw$ (setq $tw$ 0.75))
- (setq $tw$ (ureal 7 "" "新字宽" $tw$))
- (princ "\n选择文本: ")
- (if (setq ss (ssget '((0 . "*TEXT,ATTDEF"))))
- (xyp-SubUpd ss 41 $tw$)
- )
- (xyp-End)
- )
|