Is there any (arcpy) Map event fired when map is loaded completely in ArcGIS Desktop?

4784
3
Jump to solution
05-18-2016 07:35 AM
ChristophFischer
New Contributor II

I want to measure the time from a refresh event until the map is completely drawn in ArcGIS Deskop. Any Ideas?

0 Kudos
1 Solution

Accepted Solutions
JoshuaBixby
MVP Esteemed Contributor

If performance monitoring/profiling is what the OP is after, PerfQAnalyzer may also meet the need.  That said, it is unclear why the OP wants to capture the time the time it takes draw the layer.

View solution in original post

3 Replies
JoshuaBixby
MVP Esteemed Contributor

Are you able to elaborate on what you are building and attempting to do?  For example, are you looking to build a Python toolbox/script, Python Addin, etc...?

Although the answer with Python Addins is "possibly," the answer with Python in general is "no."  ArcPy doesn't have hooks into application events like ArcObjects does/did.

Since this was posted in Mapping and Charting, I will mention the Python​ place to get the question in front of more people.

0 Kudos
BlakeTerhune
MVP Regular Contributor

mxdperfstat will do that for you.

JoshuaBixby
MVP Esteemed Contributor

If performance monitoring/profiling is what the OP is after, PerfQAnalyzer may also meet the need.  That said, it is unclear why the OP wants to capture the time the time it takes draw the layer.