Create polygon with mouse click

418
2
06-30-2014 09:16 AM
EstelleWuilliez
New Contributor
Hello,

I would like to create a polygon with mouse clicks on Arcmap. I know nothing about arcpy and it's very difficult for me to find the good fonction to do that. I think I should use onMouseDownMap() but I don't know how...
Anyone can help me?

Thank you!
0 Kudos
2 Replies
curtvprice
MVP Esteemed Contributor
If you are trying to provide an interactively picked polygon off the map to a script or model tool, this is done using Feature Set parameters.

Script tools are normally set up to work non-interactively. Your polygon would be delineated (from the tool dialog) before the tool is launched by clicking OK.
0 Kudos
EstelleWuilliez
New Contributor
If you are trying to provide an interactively picked polygon off the map to a script or model tool, this is done using Feature Set parameters.

Script tools are normally set up to work non-interactively. Your polygon would be delineated (from the tool dialog) before the tool is launched by clicking OK.


What if I use Python Add-in? It is interactive right?
0 Kudos