 - ;; tt(接触选择)
- (defun c:tt ()
- (setq i -1
- lst '()
- )
- (if (setq ss (ssget '((0 . "*LINE,ARC,CIRCLE,ELLIPSE"))))
- (progn
- (while (setq s1 (ssname ss (setq i (1+ i))))
- (setq a (xyp-EnameIntersList s1)
- lst (append a lst)
- )
- )
- (setq lst (xyp-DelSame lst)
- ss (xyp-LIst2ss lst)
- )
- (sssetfirst nil ss)
- )
- )
- (princ)
- )
|