Selection Set Limits

Selection Set Limits

Anonymous
Not applicable
324 Views
2 Replies
Message 1 of 3

Selection Set Limits

Anonymous
Not applicable
Sorry if this is a duplicate posting I had a crash and I'm not sure the first attemp went though.

I am writing a VBA program that allows the user to select one or more layers which the program will use to create a selection set of all the lines and arcs on those layers The program then process the resultant selection set.
During the debugging I noticed the selection set appears to have a limit of 256 items. My questions are
1) what happens when this limit is reached.
2) how can I check for a overflow

Thanks
0 Likes
325 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
you might look at other parts of your code, an individual selection sets can definately have more than 256 items. However I do believe you are limited to having only 256 selection sets. Can you post your code? It's really hard to do anything without knowing for certain some aspects are correct.
0 Likes
Message 3 of 3

Anonymous
Not applicable
I think the limit is in the ide - it will only show you the first 256. The selectionset itself is only limited by the number of entities within the drawing and/or your available resources. Could be wrong, tho. -- ___________________________ Mike Tuersley CADalyst's AutoCAD Clinic Rand IMAGINiT Technologies
0 Likes