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"
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.