 - (defun c:tt ()
- (or th (setq th 1.5))
- (setq th (Udist 7 "" "字高<输入或鼠标直接量取>" th nil))
- (setq i -1)
- (if (setq ss (ssget '((0 . "INSERT") (8 . "GCD1") (66 . 1))))
- (while (setq s1 (ssname ss (setq i (1+ i))))
- (setq ob (vlax-ename->vla-object s1)
- ob (vlax-variant-value (vla-GetAttributes ob))
- ob (car (vlax-safearray->list ob))
- )
- (vla-put-height ob th)
- (vla-update ob)
- )
- )
- (princ)
- )
|