How to check for empty values in fields of a featureclass?

المشرف العام

Administrator
طاقم الإدارة
(ArcGIS Desktop 10.0 Python 2.7)

I need to check if any empty fields exist in featureclass fields in a gdb. These could be NONE, NULL "". The field name here is "Stand".

The following code doesn´t seem to work as "Test" is printed for every feature class even when they are filled!

rows = arcpy.SearchCursor(fc,"","","","") for row in rows: try: if row.Stand: print "TEST" break except: print "Feld existiert nicht"

أكثر...
 
أعلى