把单行文本的字体改成宋体 用lsp程序
把单行文本的字体改成宋体 用lsp程序不要用工具栏中的工具进行修改把单行文本的字体改成宋体 用lsp程序不要用工具栏中的工具进行修改
(defun c:sty (/ ss i e1 n1)
(setq ss (ssget '((0 . "TEXT,MTEXT")))
n1 (cons 7 "STANDARD") ; 此处自行定义
i-1
)
(while (setq e1 (ssname ss (setq i (1+ i))))
(setq e1 (entget e1))
(entmod (subst n1 (assoc 7 e1) e1))
)
)
多谢,程序很好 Andyhon 发表于 2013-9-29 11:20 static/image/common/back.gif
请教长老,如果STANDARD定义的不是宋体,如何搞? 回楼上
Command: -style
这得研读 Style 的帮助... 谢谢楼主的分享!很有意思 我通常是新建一个字体为宋体,然后用刷子直接刷ma Andyhon 发表于 2013-9-29 11:20 static/image/common/back.gif
谢谢!很好用 谢谢楼主的分享!
页:
[1]