I can create multiple points using the add-in that I created. But the problem is, I don't know how to add edge and vertex identifiers to my tool (like in the picture).
Here is my code :
class ToolClass2(object): """Implementation for PPPpoint_addin.tool (Tool)""" def __init__(self): self.enabled = True self.shape = "NONE" # Can set to "Line", "Circle" or "Rectangle" for interactive shape drawing and to activate the onLine/Polygon/Circle event sinks. def onMouseDownMap(self, x, y, button, shift): fc = r"C:\Test\pourpoint.shp" pt = arcpy.Point() pt.X = float(x) pt.Y = float(y) ptGeoms = [arcpy.PointGeometry(pt)] cursor = arcpy.da.InsertCursor(fc, ['SHAPE@']) cursor.insertRow([pt]) del cursor