 - ;; 需要e派工具箱(XCAD)的支持:http://yunpan.cn/QXQKsW9gAPmpF
- (defun c:tt ()
- (defun aaa (ss d1 d2 / ss1)
- (setq lst (xyp-ss2list ss)
- lst (vl-remove-if
- '(lambda (x)
- (or (< (xyp-CurveLength x) d1)
- (> (xyp-CurveLength x) d2)
- )
- )
- lst
- )
- ss1 (xyp-list2ss lst)
- )
- (if ss1
- (sssetfirst ss1 ss1)
- )
- )
- (if (setq ss (ssget '((0 . "*LINE,ARC,CIRCLE,ELLIPSE"))))
- (aaa ss 500 5000)
- )
- )
|