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

Object selection and deselection events.

109 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!

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community