I have created one python addin tool which creates some points along a line, it works good. my problem is when my tool gets activated i am not able able to zoom/pan the map. map view just get stuck wherever it was before clicking on that tool. more elaborately when i am in the middle of creating a line map view get stuck. using below code:
its main functionality lies in "def onLine(self, line_geometry)" function. so when i click on the map and start to create a line on map, i want zoom/pan functionality at that time. i guess there should be a function to zoom/pan in active view by either mouse scrolling or may be any other method |
Are you in an edit session have you tried using shortcut keys Keyboard shortcuts in ArcMap—Help | ArcGIS for Desktop
tool does not start edit session. it based on drawn line in map it creates points along line.
and i have tried short cut keys its not working