I want to update Z value of points in shape file with the following script: #example of data: Z = 200; Depth = 1,5 #after running the procedure: Z = 200, Depth = 0, and all other numeric fields in the feature class became 0. with arcpy.da.UpdateCursor(fc, ['SHAPE@Z','Depth']) as cursor: for row in cursor: row[0] = row[0] - row[1] cursor.updateRow(row) That worked fine until I upgraded to Pro 3.0. Now, this script replaces values in all numeric fields with 0. Z coordinate of points remains the same.
... View more