 - (defun Circle-W (s1 w / r)
- "Circle-W 圆改线宽"
- ;; (Circle-W (setq s1(car(entsel"\n选择: "))) 40)
- (defun dxf (code e) (cdr (assoc code (entget e))))
- (defun Donut (r1 r2 pt)
- (command "donut" r1 r2 "non" pt "")
- (entlast)
- )
- (if (= (DXF 0 s1) "CIRCLE")
- (progn
- (setq r (dxf 40 s1))
- (Donut (- (* r 2) w) (+ (* r 2) w) (dxf 10 s1))
- (entdel s1)
- (entlast)
- )
- )
- )
|