0

I have a shapefile attribute table on display. After some processing, I have to right click click Refresh to get updated version of table. I am wondering if there is a way using arcpy to update it automatically every time I make an edit to shapefile.

Note: I have a dialog box with values which I change based on my requirement and press recalculation which gives me updated attribute table.

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Ibe
  • 1,231
  • 3
  • 20
  • 37
  • 1
    Have you looked into my question here - http://gis.stackexchange.com/questions/59994/how-to-refresh-open-attribute-table-in-arcmap-using-arcpy-rather-than-arcobjects? If I remember right, the table is updated when in the editing session (you can start it with arcpy). – Alex Tereshenkov Mar 06 '14 at 07:44
  • So if i use field calculator within a class of my Add-In then the table will be updated automatically? – Ibe Mar 06 '14 at 07:51
  • If I remember right, yes, but you have to be in the editing session. – Alex Tereshenkov Mar 06 '14 at 07:52

0 Answers0