Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: exceeded maximum number of selection set

Status
Not open for further replies.

HayBale

Civil/Environmental
Feb 4, 2003
6
0
0
US
What causes the following error and how can I correct it?

Select objects:

Error: exceeded maximum number of selection set

This error occurs after using autolisp files a certain number of times. If I close the Autocad down and restart, it fixes the error , but only temporarily. Then after using lisp files again a certain number of times, I get the error again. Any help is appreciated.
 
Replies continue below

Recommended for you

Your autolisp routines are not coded very well, i.e. refer to AutoCAD documentation on selection sets (ssget),
I quote,

"Selection sets consume AutoCAD temporary file slots, so AutoLISP is not permitted to have more than 128 open at one time. If this limit is reached, AutoCAD refuses to create any more selection sets and returns nil to all ssget calls. To close an unnecessary selection set variable, set it to nil."

 
Status
Not open for further replies.
Back
Top