I have automatically generated X/Y coordinates using arcpy.AddGeometryAttributes_management but want to rename these fields. I've planned to do this by adding a new field for MidX and MidY then using CalculateField_management to update this new field with the value from the old one ("MID_X" and "MID_Y")

This isn't working:

enter image description here

Error message:

enter image description here

  • 2
    Please edit your question to include the error that you are getting. – Evil Genius Oct 10 '16 at 12:16
  • 1
    Please always include errors as text rather than pictures so that they are available to future searches. – PolyGeo Oct 10 '16 at 12:52

As explained in 24046: Tool cannot use VB expressions for services, the problem could be related to using VB expressions in 64-bit ArcGIS products. As offered in the very same page, if you change your parser to Python, your problem should disappear.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.