Quantcast
Channel: Forums - Geoprocessing
Viewing all articles
Browse latest Browse all 1952

Changing NULL values with model builder

$
0
0
Hi.

I'm using model builder to build a tool, where at a certain point, I need to take the Z elevation values from the feature class that are NULL and turn them into the value 0 (zero). To do so, I'm using the calculate field tool. I just have a problem... I know very little of VB and NOTHING of python... I was hoping someone could help me create the appropriate code to change the values I need?

I'm guessing it should be something very simple... like an if..then statement? Something like: if Z=Null then Z=0. I just need to "translate" it into programming language.

Any help... please?

Thanks in advance.http://forums.arcgis.com/images/icons/icon7.png

Viewing all articles
Browse latest Browse all 1952