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!
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.