AnsweredAssumed Answered

Custom Sketch Tool and Snapping

Question asked by geonetadmin on Dec 5, 2011
Latest reply on Dec 8, 2011 by sean_jones-esristaff
Original User: ginomellino


I have a custom tool (still back in the dark ages, 9.3 - VB.Net - see attached .txt) which works well to sketch polygons. I wish to add 2 things to it:

1. Snapping (just to make the tool aware of the current snapping environment in ArcMap, I do not need to create my own snapping agents etc),
2. The little blue circle that follows the edit tool around when snapping is enabled (Editor::InvertAgent).

I have gotten the circle to show up and the point to snap but this has caused my polygon feedback to stop following the mouse cursor when I move it. It also leaves trails of the cursor on the screen (see attached jpg). Also, when I click to add a new point it seems to add the point at the mouse cursor and not at the snap point.

Can anyone please let me know where I am going wrong? I am sure it is something simple.

Thanks in advance