- (defun c:tt (/ lst1 lst2)
- (if (setq fl (getfiled "请选择程序文件" "" "vlx;fas;*" 8))
- (progn
- (setq lst1 (vl-remove-if-not '(lambda (x) (= (substr x 1 2) "C:"))(atoms-family 1)))
- (load fl)
- (setq lst2 (vl-remove-if-not '(lambda (x) (= (substr x 1 2) "C:"))(atoms-family 1)))
- (princ "\n命令: ")
- (foreach a (vl-remove-if '(lambda (x) (member x lst1)) lst2)
- (princ "\n")
- (princ (substr a 3))
- )
- )
- )
- (princ)
- )
|