>>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")
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.