I am trying to "reverse" the values of Z in a pointMZ geometry with
Anyway, I am not able to find a way to achieve this, although my script seems to work (no errors, printing the new Z values gives me the right output, but geometry always looks the same...). My try:
import arcpy with arcpy.da.UpdateCursor('my_feat.shp', "SHAPE@Z") as cursor: for row in cursor: row = -1 * row print(row) cursor.updateRow(row)
My pointMZ geometry always looks the same (in terms of points displayed in my scene view), while I expected to set its Z values to their opposites and see them upside down.