Consider the following script for a Python add-in:
import arcpy
import pythonaddins
class OpenGPTool(object):
def __init__(self):
self.enabled = True
self.checked = False
def onClick(self):
pythonaddins.GPToolDialog('C:/Project/ProjectTools.tbx', 'MyTool')
What does the add-in accomplish?
Wähle eine der folgenden: