PROBLEM
When running a script with the arcpy.da.UpdateCursor() function in ArcGIS Pro, the map does not update while the script is running, and the attribute does not display the new data.
This is expected behavior. ArcGIS Pro updates the map after every update is completed within a loop. This is different from ArcMap where users can utilize the arcpy.RefreshActiveView() function to refresh the map for every update within an iteration.
The table does not refresh if the attribute table of the feature involved in the script is opened prior to running the script.
Wait for the script to finish running to view the updated map. The process is now automatic in ArcGIS Pro, leading to the deprecation of the arcpy.RefreshActiveView() function. To view the updated attribute table, close and reopen the attribute table of the selected feature. Refer to ArcGIS Pro: Add and open a stand-alone or attribute table from a map or scene for instructions and more information.
Article ID: 000027383
Get help from ArcGIS experts
Download the Esri Support App