import arcpy from arcpy import env env.
def execute(self, parameters, messages): """The tool logic to perform once the tool is executed.""" arcpy.env.workspace = "C:\Temp"
class Tool(object): def __init__(self): """Define the tool's attributes.""" self.label = "MyTool" self.description = "Tool1" self.canRunInBackground = False arcpy.env.scratchGDB = r"C:\Temp\MyGDB.gdb"
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.