Autocad like selection style

The code is the same as for Eyeshot 8 sample, with this one change:

 

Instead of 

 

CustomSelectionChanged(this, new SelectionChangedEventArgs(added.ToArray(), removed.ToArray()));



use

CustomSelectionChanged(this, new SelectionChangedEventArgs(added.ToArray(), removed.ToArray(), this));



Moreover, only for WPF, instead of

RenderContextUtility.ConvertPoint(e.GetPosition(this));


use

RenderContextUtility.ConvertPoint(GetMousePosition(e));
Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Bernardo Garcia

    ok, I saw it already. It does not work the way I need. The routine I mentioned before is better for me, once I have to change the selecting criteria depending on the CTRL/SHIFT keys pressed.

     

    So, please help me to change that part of the code in order to draw the rectangle with different bordres and transparency, 

     

    Thanks

Please sign in to leave a comment.