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")
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.