- (defun c:tt(/ s e h a)
- (and(setq s(ssget'((-4 . "<or")(0 . "circle")(-4 . "<and")(0 . "*polyline")(-4 . "&")(70 . 1)(-4 . "and>")(-4 . "or>"))))
- (setq h(getreal"倍数"))
- (setq a(getreal"乘积"))
- (while(setq e(ssname s 0))
- (ssdel e s)
- (entmod(append(entget e)
- (List(cons 62(if(>(*(-(vlax-curve-getdistatparam e(vlax-curve-getendparam e))
- (vlax-curve-getdistatparam e(vlax-curve-getstartparam e)))h)a)
- 1 2))))))))
|