Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

maximum number of selection sets?

2 views
Skip to first unread message

Shawn Ryan

unread,
Apr 15, 2002, 11:02:04 AM4/15/02
to
Does anyone know if there's a limit to the number of selection sets LISP can
handle at once? I'm getting a "Exceeded maximum number of selection sets"
error on the command line during an SSGET.

Thanks in advance,
Shawn


R. Robert Bell

unread,
Apr 15, 2002, 10:59:21 AM4/15/02
to
Yes, open selection sets are limited to 128.

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...

Jason Piercey

unread,
Apr 15, 2002, 11:58:03 AM4/15/02
to
You might find this useful.

(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...

0 new messages