Not able to select any entities in AutoCAD

Not able to select any entities in AutoCAD

Anonymous
Not applicable
434 Views
3 Replies
Message 1 of 4

Not able to select any entities in AutoCAD

Anonymous
Not applicable
I have a bunch of VBA in AC, and after a while (hour or two) the selection
of any entities in AC will not work. This is not just in VBA but in the
normal drawing editor. Has anyone experienced this problem. I have tried to
regen the dwg but to no avail. The only solution is to save the dwg, and
restart AC.


TIA

Chris
0 Likes
435 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Hi,

Are you freeing the selection sets created in your VBA code?
You can try checking if you are using up all the selection sets(the highest
limit is 128).
You must free a selection set by calling AcadSelectionSet.delete.

Cheers,
Murali

"Chris Tryon" wrote in message
news:[email protected]...
> I have a bunch of VBA in AC, and after a while (hour or two) the selection
> of any entities in AC will not work. This is not just in VBA but in the
> normal drawing editor. Has anyone experienced this problem. I have tried
to
> regen the dwg but to no avail. The only solution is to save the dwg, and
> restart AC.
>
>
> TIA
>
> Chris
>
>
0 Likes
Message 3 of 4

Anonymous
Not applicable
Hi,

Which version of ACAD are you using ?

We add this exact problem in A2Ki. The only real good thing i have found in
A2002 is that this problem is gone.

Let me know how it evolves.

Bye,

Luc Morrissette,
Flairbase inc.
0 Likes
Message 4 of 4

Anonymous
Not applicable
Murali,

I wrote a selection set counter, and run that when this happens. So far that
is not the case.

Luc,

Thanks for the note. We are also using AC2Ki.

Anyone else with any suggestions?

Chris

PS. Sorry it takes so long for me to reply, but at my office (where I write
AC VBA) we are not allowed to use newsgroups, so the only way for me to
access this newsgroup is from home.

"Luc Morrissette" wrote in message
news:[email protected]...
> Hi,
>
> Which version of ACAD are you using ?
>
> We add this exact problem in A2Ki. The only real good thing i have found
in
> A2002 is that this problem is gone.
>
> Let me know how it evolves.
>
> Bye,
>
> Luc Morrissette,
> Flairbase inc.
>
>
0 Likes