desc = arcpy.Describe ("FeatureClass") print desc.path
fc = arcpy.getParamaterAsText(0) fieldName = arcpy.getParamaterAsText(1) newName = arcpy.AddFieldDelimiters(fc, fieldName) sqlExp = newName + " = 5"
import arcpy, os arcpy.env.workspace = os.getcwd() for gdb in arcpy.ListWorkspaces("*","Access"): print "Access: "+gdb for gdb in arcpy.ListWorkspaces("*","FileGDB"): print "FGDB: "+gdb
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.