Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations LittleInch on being selected by the Eng-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
Joined
Feb 4, 2003
Messages
6
Location
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.
 
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.

Part and Inventory Search

Sponsor

Back
Top