2

I'm using ArcMap 10.6.1. I have a large set of points I am trying to move to a new Lat/Long based off of two new fields (X2 and Y2) joined from another table. I have been researching this question for a few days and can't quite locate what I'm looking for. I've determined from others who have asked the questions that I need to use the Point function from the geometry classs in field calculator to do so. Currently I am receiving errors every time I try and run it. I am in an editing session.

How I am currently trying to run it.

Do I need to incorporate the codeblock into this?

I am also worried that I shouldn't be calling "arcpy" out, but I have tried it without the module and still getting errors.

1
  • 2
    Please do not add an answer to the Question.
    – Vince
    Commented Apr 14, 2023 at 2:05

1 Answer 1

3

Your approach does not appear to work with joined data. What you can do is permanently join the XY fields to the featureclass using Join Field tool then run your expression as shown in your screenshot and that will move the geometry to the new location defined by the XY fields.

1
  • Wow. I didn't even consider that. By using the "Join Field" tool it worked! Thanks for your help!
    – JTstone
    Commented Apr 14, 2023 at 0:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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