
- ;; 刷块角度
- ;; 需要e派工具箱(XCAD)的支持:[url=http://xyp1964.ys168.com]http://xyp1964.ys168.com[/url]
- (defun c:tt ()
- (if (and (setq s0 (car (entsel "\n选择样块: ")))
- (= (xyp-get-dxf 0 s0) "INSERT")
- )
- (progn
- (princ "\n选择要修改的图块: ")
- (setq ss (ssget '((0 . "INSERT")))
- i -1
- rad (xyp-get-dxf 50 s0)
- )
- (while (setq s1 (ssname ss (setq i (1+ i))))
- (xyp-SubUpd s1 50 rad)
- )
- )
- )
- (princ)
- )
|