import arcpy, sys arcpy.env.workspace = r"C:\Temp\BackgroundData_fGDB.gdb" fcList = arcpy.ListFeatureClasses("*", "ALL") for fc in fcList: sys.stdout.write(b +"\n")
IGeoProcessor2 gp = new GeoProcessorClass(); gp.AddToolbox(@C:\YourPath\YourToolbox.tbx); parameters.Add(@C:\YourPath\ParamsIfYouHaveThem.gdb\ParamFC); gp.Execute("NameOfYourToolInsideReferencedToolbox", parameters, null);
>>import arcpy >>arcpy.env.workspace = u'C:\\Users\\hp\\Documents\\ArcGIS\\Default.gdb' >>arcpy.ListFeatureClasses() >>[]
Ingelogde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Maak gratis een account aan.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.