I have changed the coordinates of couple points in the attribute table and I want to update the location. I have found the script that is working in field calculator.
Does anybody know how to write it using a Python script in ArcGIS Desktop (not in Field Calculator)?
def XYsetVALUE( shape, X_value, Y_value): point = shape.getPart(0) point.X = X_value point.Y = Y_value return point __esri_field_calculator_splitter__ XYsetVALUE ( !SHAPE!, !X_COORD!, !Y_COORD! )
COORDINATE FIELD TYPE ------ STRING !!!!