Select to view content in your preferred language

Refresh table Graphic in layout via arcpy

1235
6
09-01-2010 06:14 PM
Status: Implemented
Labels (1)
TedCronin
MVP Honored Contributor

 Refresh table Graphic in layout via arcpy.  It would be nice to have the capability to refresh the graphic for tables that have been added to a layout, rather than just working with a static graphic, a dynamic graphic would be more useful and more powerful for scripting graphic element placement via arcpy.

6 Comments
JeffMoulds
Do you want something like elm.refresh()? Or does arcpy.refreshActiveView() work for you? It will refresh the entire layout, which can be slow, depending on your data, etc.
TedCronin
So, I want to add table to layout (via arcpy), which we can do currently (Manually).  When the table is added, I want the capapbility to have a dynamic connection between the graphic element in the layout to the table, but when it is added to the layout it would retain a static behavior.  A refresh of the static table would refresh the display (Behind the scenes it is dynamically linked).  The property could be elem.refreshTableGraphic or something to this effect.  This would be very helpful to the users like us who use tables in our maps.


TerjeBrevik
I would really like this feature too. arcpy.RefreshActiveView() does not do the trick. Right now I'm using the mapping module to create several maps of different areas using an index feature. The different areas have different attributes associated with the features, so I need to update a table in the layout for each area. I use a .csv file which I insert as a linked object. I edit the .csv from Python, but now I need to open and close the tables manually for it to be updated. A property in the mapping module for updating the table would be really great. 
AmyKlug
Agreed!
JeffBarrette
Status changed to: In Product Plan

@ted At Pro 3.3 we added createTableFrameElement and a new TableFrameElement class.

I hope this helps with your requirements for "adding a table to a layout".

Jeff - arcpy mp and Layout SDK teams

KoryKramer
Status changed to: Implemented

This is implemented in ArcGIS Pro 3.3. See Your Ideas in ArcGIS Pro 3.3 for a full list of all user ideas you can look forward to! And be sure to check out the release blog and what’s new help topic and video to learn more about all the new features and functionality in the release.