Thanks in advance,
Shawn
Your code should be binding selection sets to a local variable; this helps
control the number of open selection sets.
--
R. Robert Bell, MCSE
www.AcadX.com
"Shawn Ryan" <d...@patternsystems.com> wrote in message
news:A11195BE7B4D4F45...@in.WebX.maYIadrTaRb...
(defun c:clearss ( / i)
(setq i 0)
(foreach x (atoms-family 0)
(if (= (type (eval x)) 'PICKSET)
(progn
(set x NIL)
(setq i (1+ i))
)
)
)
(mapcar 'princ (list "\n" i "selection set(s) cleared"))
(princ)
)
--
-Jason
Member of the Autodesk Discussion Forum Moderator Program
"Shawn Ryan" <d...@patternsystems.com> wrote in message
news:A11195BE7B4D4F45...@in.WebX.maYIadrTaRb...