ArcGIS Pro - Using Python Codeblock in Calculate Field
Channel: GIS Coordinated
Date: 2022-08-02

Video #149b 
This video follows on from Video #149 in that it shows a different method to update a field.  In the previous video, I first selected my records of interest and then used Calculate Field to update that selection with a new value.
That needs to be done X times if you have X values to update
And what if you want to repeat the exercise?
This video shows how to do this with IF...ELIF statements in a Python codeblock.
Note that as the python codeblock can be exported as a .CAL file, it can be emailed to another user.

A simpler python example is demonstrated in this earlier video: https://youtu.be/uD5fWg0l4f8