This routine accepts an IPoint interface and uses the IDisplay3D interface of an ArcScene's SceneGraph to flash the location.
How to use
- Paste the code into VBA.
- In a calling procedure, create a Point, populate its coordinates, and pass its IPoint interface to the FlashLocation3D procedure.
- Run the calling procedure.
Public Sub FlashLocation3D(pLoc As IPoint)
Dim pApp As IApplication
Set pApp = Application
If TypeOf pApp Is ISxApplication Then
Dim pSxDoc As ISxDocument
Set pSxDoc = pApp.Document
Dim pDisplay3D As IDisplay3D
Set pDisplay3D = pSxDoc.Scene.SceneGraph
pDisplay3D.FlashLocation pLoc
End If
End Sub