AnsweredAssumed Answered

Why can't I move an annotation featureclass with a Python update cursor?

Question asked by sstory4567 on Apr 29, 2016
Latest reply on Apr 29, 2016 by Dan_Patterson

Why can't I move an annotation featureclass with a Python update cursor? I can access the geometry field using a Python cursor, and I can change the coordinates for the center of the geometry by adding an offset and the SHAPE@XY token, but the annotation does not move. I know I can get at this via ArcObjects but it seems like if the annotation featureclass geometry is exposed, I should be able to change it right? Thanks for any help you all can offer.

 

What is even weirder, is that it does appear that the geometry has moved (based on where the selected geometry appears; in the case shown below I used an update cursor to offset the SHAPE@XY token by 200 meters north and east), but the annotation itself does not appear to move. Maybe adjusting the SHAPE@XY is not sufficient for annotation? Maybe I need to move all of the geometry? For other featureclass types (point and polygon), just adjusting the centroid moved the whole geometry, that is why I am confused.

 

Outcomes