AnsweredAssumed Answered

Refresh layer in ArcGlobe

Question asked by Holywhippet on Jul 11, 2017
Latest reply on Aug 2, 2017 by YLiu-esristaff

 I'm working on a tool that exports a number of images from ArcGlobe. Basically it sets the definition query for a particular layer then exports the current view to an image file. The problem I'm having is that it doesn't finish updating the scene before performing the export so my output images look terribly blocky. In fact after it finishes running through my sample data it doesn't even finish refreshing the last change made. I figure I need to force a refresh but I can't work out what to call. Unlike ArcMap or ArcScene the obvious calls to make don't work and some of the methods aren't even implemented.

 

 I did notice there is a refresh command for layers in the table of contents context menu. If I use that on the layer I've updated at the end it redraws it correctly. But I can't work out how to activate that context menu item for my layer. I know how to activate command items in general but not one that is on a context menu and operates on a specific layer.

 

 Any ideas please?

Outcomes