本帖最后由 xyp1964 于 2024-5-1 16:39 编辑
- ;; ZZ77批量改变图元文字样式名称
- (defun c:ZZ77 () (abc (setq s1(car(entsel"\n选择参照文本: ")))) (princ))
- (defun abc (e / st ss)
- (setq st (xyp-DXF 7 e)
- st (Ustr 1 "新文字样式名" st nil)
- )
- (if (setq ss (ssget '((0 . "*text")))) (xyp-SubUpd ss 7 st))
- (princ)
- )
|