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")
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.