没听说过 不过用程序很容易就能做到 (defun c:kk() (setq a (ssget)) (setq len (sslength a)) (setq n 0) (repeat len (setq en (ssname a n)) (setq b (entget en)) (setq djq (cdr (assoc 0 b))) (if (= djq "TEXT") (doujq) ) ;end if (setq n (+ 1 n)) ) ;end repeat )
;;;子程序
(defun doujq() (setq c (assoc 1 b)) (setq d (cdr c)) (setq g (strcat d "-sh")) (setq m (cons 1 g)) (setq b (subst m c b )) (entmod b) (princ) ) |