Synchronize ArcMap Graphic Table Element in Python

1348
4
03-01-2017 02:40 PM
IgorBalotsky1
Occasional Contributor

Hello,

I am writing a Python script to output ArcMap maps to PDFs and I am using the "Graphic Table Element" feature that is part of Production Mapping inside the maps. I notice that when the underlying data changes, the only way to get it to update is to right click on the table in layout view and select "Synchronize Selected Tables". Is there any way to replicate this behavior in Python since I need all of the data to be refreshed before I export the map to PDF. The only reference to synchronize that I found in the API has to do with replicas, and just hitting F5 doesn't refresh the tables.

Thanks in advance for any input,

Igor

0 Kudos
4 Replies
DanPatterson_Retired
MVP Emeritus

I presume you aren't talking about an interactive table then?

0 Kudos
IgorBalotsky1
Occasional Contributor

I have not converted any of the tables to interactive...would that be the solution to keep them synced?

Igor

0 Kudos
DanPatterson_Retired
MVP Emeritus

Igor, I don't have one to test, but that is the only reference to tables and synced and production mapping.  I can't find any specify arcpy method within its production module methods directly that would apply

0 Kudos
IgorBalotsky1
Occasional Contributor

Actually, converting them to interactive tables seemed to do the trick. Thanks!

This should make the script work properly once I write it.

0 Kudos