>>import arcpy >>arcpy.env.workspace = u'C:\\Users\\hp\\Documents\\ArcGIS\\Default.gdb' >>arcpy.ListFeatureClasses() >>[]
IGeoProcessor2 gp = new GeoProcessorClass(); gp.AddToolbox(@C:\YourPath\YourToolbox.tbx); parameters.Add(@C:\YourPath\ParamsIfYouHaveThem.gdb\ParamFC); gp.Execute("NameOfYourToolInsideReferencedToolbox", parameters, null);
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")
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.