要删除线段,在处理完成有关数据之后加上:
(command "_.erase" aa "")
另外提供一个函数给你
- ;;;----------------------------------------------
- ;;; 仅保留表中的非重复点:
- ;;; by HLCAD
- (defun HL:TMP (plist / tmp rtn)
- (while (vl-remove nil plist)
- (setq tmp (car plist))
- (setq rtn (cons tmp rtn))
- (setq plist (vl-remove-if '(lambda(x) (equal tmp x 0.001)) (cdr plist)))
- )
- (reverse rtn)
- )
- ;;;----------------------------------------------
|