I am a beginner with Python coding and would required assistance with building Python Addin with TOOL class and utilising
def onRectangle(self, rectangle_geometry)
I have created a toolbar with Python Addin where I have added several button and tools.
From the class SetINVISIBLE_TOOL(object):
I want to use the def onRectangle(self, rectangle_geometry):
so when the tool is used, the user must draw a rectangle to select a single point from a prescribed layer.
If the selection count == 1;
then the selected point will be set to invisible
I have tried a few things but can not find a solution.