count = 0 def mini(): global count global value global rows if count == 0: rows = arcpy.SearchCursor("H:\GIS_Data\TEMP_GDB.gdb\points2sj","","","", "Join_Count A") for row in rows: if count == 0: value = row.Join_Count count = 1 return value
count = 0 def mini(): global count global value global rows if count == 0: rows = arcpy.SearchCursor("<path to feature class>","","","", "<fieldname> A") for each row in rows: if count == 0: value = row.<fieldname> count = 1 return value
mini()
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.