.NET

.NET

Reply
New Member
1 Posts
0 Kudos
Registered: ‎03-22-2012
Post 1 of 1

Object selection and deselection events.

129 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
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!