PROBLEM

Certain event members are not fired for IActiveViewEvents of a SceneGraph

Last Published: April 25, 2020

Description

Listeners of the AfterDraw, ViewRefreshed and AfterItemDraw members of IActiveViewEvents, tied to a SceneGraph, will never be called.

Cause

The IActiveViewEvents interface has its uses for ArcMap and ArcScene; thus, it is a good idea to use the same interface in both applications. But some members of IActiveViewEvents are inappropriate for ArcScene because of the nature of its dynamic display. Firing events on every re-paint would reduce performance, so it is not done.

Solution or Workaround



For AfterDraw and ViewRefreshed events, you can use the AfterDraw event in the ISceneGraphEvents interface.

There is nothing you can do for AfterItemDraw, as it would gravely reduce performance if used in an interactive 3D viewing environment.

Article ID:000003350

Software:
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic