Dave,
VBA我帮不了你,
这只是那个的lisp方法
~'J'~
- ;; save this code as KB.lsp
- ;;==================code begin
- (defun KillBigFont (stname / )
- (setq styl (tblobjname "style" stname))
- (setq stlist (entget styl))
- (entmod (subst (cons 4 "")(assoc 4 stlist) stlist))
- (entupd styl)
- (princ)
- )
- (defun c:kb(/ stname)
- (setq stname (getstring T "\Enter the style name: "))
- (KillBigFont stname)
- )
- (princ "\nType KB to execute")
- (prin1)
- ;;============== code end
|