• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    New Member
    Posts: 1
    Registered: ‎03-22-2012

    Object selection and deselection events.

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

    Please use plain text.