When does it happen? Were you runing one of your own routines? Is that possible you made a mistake in your codes and it creates selection sets in a loop?The following codes can kill all selection sets in current drawing and also tell how many of them have been killed :-)- ;;Provided by Puckett, Michael
- (defun kill-all-ss ()
- (length
- (mapcar '(lambda (x) (set x nil))
- (apply 'append
- (mapcar
- '(lambda (x)
- (if (eq 'pickset (type (eval x)))
- (list x)))
- (atoms-family 0)
- )
- )
- )
- )
- )
|