pythonaddins.GPToolDialog(PathtoToolbox, 'nameofscriptool')
import arcpy import pythonaddins class StormSurge1(object): """Implementation for StormSurge_addin.btn1 (Button)""" def __init__(self): self.enabled = True self.checked = False def onClick(self): arcpy.env.workspace = ('current') arcpy.SelectLayerByLocation_management ("Fire Station", "INTERSECT", r"Storm Surge\cat3_full")
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.