- ;电脑内字体少而打开别人的图纸字体特别多怎么办?试试以下程序:
- (defun c:KK (/ elist nm en cn enl)
- (setq elist (tblnext "STYLE" T))
- (while (/= elist nil)
- (setq nm (cdr (assoc 2 elist))
- en (cdr (assoc 3 elist))
- cn (cdr (assoc 4 elist))
- enl (strlen en)
- )
- (if (and
- (/= en nil)
- (= cn nil)
- (= (findfile en) nil)
- (= (strcase (substr en (- enl 2))) "SHX")
- )
- (command "_style" nm "romans.shx" "0.0" "0.8" "" "" "" "")
- )
- (if (and
- (/= cn nil)
- (= (findfile cn) nil)
- )
- (command "_style" nm "romans.shx,hztxt.shx" "0.0" "0.8" "" "" "" "")
- )
- (setq elist (tblnext "STYLE"))
- )
- )
该贴已经同步到 【KAIXIN】的微博 |