As I mentioned at the end of this answer the IActiveViewEvents.AfterItemDraw event (even with IViewManager.VerboseEvents enabled) only seems to fire for layers in the root of ArcMap's table of contents, not nested sublayers, so if you want individual events to be fired for a layer it must be moved into the root of the TOC and not within a group layer.

Does anyone know of a workaround for this or have findings to the contrary?

  • Is your goal still the same - to get performance stats? – Kirk Kuykendall Mar 29 '12 at 3:37
  • Yeah; what I've done in the linked answer is working well except that it only works on root layers. – blah238 Mar 29 '12 at 3:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.