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() >>[]
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.