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));
Comments
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
(Sorry for the cross post from V8 but I think that it is not followed anymore)
Hi Luca,
There is a small issue: if I click on the toolbar, the click also select the entity beyond or remove the selection, in case of no entity.
Do you have a fix for this problem?
Thanks,
Stenio
Please sign in to leave a comment.