I want to measure the time from a refresh event until the map is completely drawn in ArcGIS Deskop. Any Ideas?
Solved! Go to Solution.
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.
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.
mxdperfstat will do that for you.
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.