 - (defun c:tt ()
- (if (setq ss (ssget '((0 . "line,dim*"))))
- (progn
- (foreach a (vl-remove-if-not
- '(lambda (x) (= (type x) 'ENAME))
- (mapcar 'cadr (ssnamex ss))
- )
- (if (not (member 102 (mapcar 'car (entget a))))
- (ssdel a ss)
- )
- )
- (sssetfirst nil ss)
- )
- )
- (princ)
- )
|