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

0 Comments

Please sign in to leave a comment.