AutoCAD Map 3D Forum
Welcome to Autodesk’s AutoCAD Map 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

maximum

9 REPLIES 9
Reply
Message 1 of 10
Anonymous
252 Views, 9 Replies

maximum

i have consistently seen this every day for the past 2 weeks...my workaround
has been to save the drawing. exit. and get back in. does anyone know why
this continues to happen and what i can do to fix it.

exceeded maximum number of selection sets
9 REPLIES 9
Message 2 of 10
Anonymous
in reply to: Anonymous

Sounds like some add-on is creating selection sets and not releasing them.
Happens, for example, when the author of a LISP routine neglects to localize
variables.
___

"steve carlson" wrote in message
news:D5350332772061F16CBB15A445883963@in.WebX.maYIadrTaRb...
> i have consistently seen this every day for the past 2 weeks...my
workaround
> has been to save the drawing. exit. and get back in. does anyone know why
> this continues to happen and what i can do to fix it.
>
> exceeded maximum number of selection sets
>
>
Message 3 of 10
Anonymous
in reply to: Anonymous

steve carlson wrote:

> i have consistently seen this every day for the past 2 weeks...

Are you using plain AutoCAD or a vertical derivative such as LDD?

Terry
Message 4 of 10
Anonymous
in reply to: Anonymous

thats sorta what i was thinking...i'm running express tools. do any of there
functions create this problem. i am also doing alot of editing to the
drawing. i would imagine that could drive the selection sets up.

i will have to do some checking i guess


"Paul Turvill" wrote in message
news:000DAEE424890FEE5066E204572C2AD9@in.WebX.maYIadrTaRb...
> Sounds like some add-on is creating selection sets and not releasing them.
> Happens, for example, when the author of a LISP routine neglects to
localize
> variables.
> ___
>
> "steve carlson" wrote in message
> news:D5350332772061F16CBB15A445883963@in.WebX.maYIadrTaRb...
> > i have consistently seen this every day for the past 2 weeks...my
> workaround
> > has been to save the drawing. exit. and get back in. does anyone know
why
> > this continues to happen and what i can do to fix it.
> >
> > exceeded maximum number of selection sets
> >
> >
>
>
Message 5 of 10
Anonymous
in reply to: Anonymous

autocad map without ldd


"Terry W. Dotson" wrote in message
news:3EB2BD07.AAF9999F@dotsoft.com...
> steve carlson wrote:
>
> > i have consistently seen this every day for the past 2 weeks...
>
> Are you using plain AutoCAD or a vertical derivative such as LDD?
>
> Terry
Message 6 of 10
Anonymous
in reply to: Anonymous

steve carlson wrote:

> autocad map without ldd

Well you could add this lisp to your startup suite, and when it
happens run the command instead of quitting out.

; Select Set Identify & Clean
; Copyright 2001 DotSoft [http://www.dotsoft.com]

(defun c:ssclean ()
(setq ctr 0)
(setq lst (atoms-family 1))
(foreach sym lst
(if (= (type (eval (read sym))) 'PICKSET)
(progn
(setq ctr (1+ ctr))
(eval (read (strcat "(setq " sym " nil)")))
(princ (strcat "\nNullified (" (itoa ctr) "): " sym))
)
)
)
(gc)
(princ)
)

Good Luck, Terry
Message 7 of 10
Anonymous
in reply to: Anonymous

In the Map Options dialog, there is an option to create a selection set from
queried objects. If this is checked this could be your culprit.


"steve carlson" wrote in message
news:D5350332772061F16CBB15A445883963@in.WebX.maYIadrTaRb...
> i have consistently seen this every day for the past 2 weeks...my
workaround
> has been to save the drawing. exit. and get back in. does anyone know why
> this continues to happen and what i can do to fix it.
>
> exceeded maximum number of selection sets
>
>
Message 8 of 10
Anonymous
in reply to: Anonymous

ok...lets try this again...i'm using autocad map. i have express tools
installed. i'm editing a base drawing with alot of information. i select
lines and blocks and then either do a match layer or current layer change
(express tools). i do alot of "isolate layer" as well. i'm constantly
freezing and thawing layers, i'm also using the layer previous button alot.

this is pretty much all that i am doing with this drawing. sometimes a
filter here and there...and lots of moving and copying.

after about 4-6 hours of editing with saves, i get this error:

"exceeded maximum number of selection sets" when i try to use one of the
express tools layer function commands.

this is not a map variable error. it appears to be either a setting error
for selections sets or as someone had mentioned earlier, perhaps a variable
clearly problem with a lisp routine....

does anyone have any ideas.
steve

"Kevin W. Garnett" wrote in message
news:5AC56692B0F2E95ED2975F8BD9016CC9@in.WebX.maYIadrTaRb...
> In the Map Options dialog, there is an option to create a selection set
from
> queried objects. If this is checked this could be your culprit.
>
>
> "steve carlson" wrote in message
> news:D5350332772061F16CBB15A445883963@in.WebX.maYIadrTaRb...
> > i have consistently seen this every day for the past 2 weeks...my
> workaround
> > has been to save the drawing. exit. and get back in. does anyone know
why
> > this continues to happen and what i can do to fix it.
> >
> > exceeded maximum number of selection sets
> >
> >
>
>
Message 9 of 10
Anonymous
in reply to: Anonymous

You need to close AutoCAD and restart it once in a while.
Not only are you overloading selection sets, you also lose
some memory that AutoCAD does not give up with each new open.
This will cause windows to use it's virtual memory (writing to the disk)
and slow everything down.

"steve carlson" wrote in message
news:063F374677F4D705415FC0B9C23E554E@in.WebX.maYIadrTaRb...
> ok...lets try this again...i'm using autocad map. i have express tools
> installed. i'm editing a base drawing with alot of information. i select
> lines and blocks and then either do a match layer or current layer change
> (express tools). i do alot of "isolate layer" as well. i'm constantly
> freezing and thawing layers, i'm also using the layer previous button
alot.
>
> this is pretty much all that i am doing with this drawing. sometimes a
> filter here and there...and lots of moving and copying.
>
> after about 4-6 hours of editing with saves, i get this error:
>
> "exceeded maximum number of selection sets" when i try to use one of the
> express tools layer function commands.
>
> this is not a map variable error. it appears to be either a setting error
> for selections sets or as someone had mentioned earlier, perhaps a
variable
> clearly problem with a lisp routine....
>
> does anyone have any ideas.
> steve
>
> "Kevin W. Garnett" wrote in message
> news:5AC56692B0F2E95ED2975F8BD9016CC9@in.WebX.maYIadrTaRb...
> > In the Map Options dialog, there is an option to create a selection set
> from
> > queried objects. If this is checked this could be your culprit.
> >
> >
> > "steve carlson" wrote in message
> > news:D5350332772061F16CBB15A445883963@in.WebX.maYIadrTaRb...
> > > i have consistently seen this every day for the past 2 weeks...my
> > workaround
> > > has been to save the drawing. exit. and get back in. does anyone know
> why
> > > this continues to happen and what i can do to fix it.
> > >
> > > exceeded maximum number of selection sets
> > >
> > >
> >
> >
>
>
Message 10 of 10
marbile
in reply to: Anonymous

I found that this happnes to me, when I got a sset from a an api function, as for example, in "tpm_elemss".
This function, returns a sset, but it is not released when settting this sset to nil.
The solution I found, was to write an arx function in C, that relesae the sset.
It seems that tpm_elemss, it is writeen in 'C', and must be release with the 'acedSSFree(ss)' function as well.
Based on this, I suppoused that each autodesk api function that returns a sset, must be trated the same way

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost