GregStarting at ArcGIS for Desktop 10.1, null values in an attribute table are returned as the string 'None' in the Field Calculator using Python. Knowing this, an if/elif statement can be used to find whether values are null or not. Here is an example that checks if a field contains null values: if !INVERT! <> 'None': !INVERT_ELEVATION! = !DEM_ELEVATION! - !INVERT! RegardsAnthony
if !INVERT! <> 'None': !INVERT_ELEVATION! = !DEM_ELEVATION! - !INVERT!
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.