 - ;; 需要e派工具箱(XCAD)的支持:http://yunpan.cn/Qh7rDf4Y2xwYN(提取码:06ee)
- (defun c:tt ()
- (xyp-Start)
- (setq i -1)
- (if (setq ss (ssget '((0 . "text") (1 . "*/*"))))
- (while (setq s1 (ssname ss (setq i (1+ i))))
- (setq lst (xyp-Str2LstSpr (xyp-DXF 1 s1) "/")
- tx (strcat (cadr lst) "/" (car lst))
- s1 (xyp-SubUpd s1 1 tx)
- )
- )
- )
- (xyp-End)
- )
|