- (defun C:bbxx (/ WIDTH ss)
- (if (not oldwidth)
- (setq oldwidth 0.3)
- )
- (if (SETQ
- WIDTH (GETREAL
- (strcat "\n请输入粗线宽度<" (rtos oldWIDTH 2 2) ">:")
- )
- )
- (setq oldWIDTH WIDTH)
- (setq WIDTH oldWIDTH)
- )
- (if
- (progn (prompt "\n请选择改变线宽的线<退出>:")
- (setq ss (ssget))
- )
- (command "_pedit" "M" ss "" "_w" WIDTH "j" "" "")
- )
- (princ)
- )
|