- ;; 尺寸数值增减
- ;; 伪源码需要e派工具箱(XCAD)的支持
- (defun c:tt ()
- (CMDLA0)
- (setq NO1 (UREAL 1 "" "增减数值" NO1))
- (princ "\n选择尺寸标注: ")
- (setq ss (ssget '((0 . "DIMENSION")))i -1)
- (while (setq s1 (ssname ss (setq i (1+ i))))
- (xyp-SubUpd s1 1 (rtos (+ (xyp-dxf 42 s1) no1) 2 0))
- )
- (CMDLA1)
- )
|