New Member
Posts: 1
Registered: ‎03-22-2012
Message 1 of 1 (128 Views)

Object selection and deselection events.

128 Views, 0 Replies
03-22-2012 04:15 AM

Hello! I'm trying to operate with acad objects in .NET. I added an event hander to the Application.DocumentManager.MdiActiveDocument.Editor.SelectionRemoved and Application.DocumentManager.MdiActiveDocument.Editor.SelectionEdded event, but SelectionRemoved handler never invokes when selection lost (e.g. Esc button pressed) and SelectionAdded invokes 3 times during selection and everytime when cursor  hovers over any acad element even though this element doesn't selected.

So, does anybody have any ideas how to resolve this problem and how to hadle selection and deselection events correctly?

Thanks in anvance!

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.