laptop and a wrench

Bug

Calling IGlobeDisplayLayers::RefreshLayer on a layer that is draped on to globe in ArcGlobe hangs the application.

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM004546
EingereichtOctober 2, 2006
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version9.2 RC
StatusKnown Limit

Zusätzliche Informationen

No Public Explanation

Workaround

We can reproduce the issue here, but the problem really relates to the order of the workflow.The code works fine if:1. Before calling “updateFeatureLayerProperties” a call to IGlobeDisplayLayers.RefreshLayer is made. In this case the code will look something like://Add the layer to globe as draped_globe.AddLayerType((ILayer)fLayer, esriGlobeLayerType.esriGlobeLayerTypeDraped, true);//Add a feature to the feature class addDrawing(System.Drawing.Color.Red, 10, fLayer);//Refresh the layer since the source feature class has changedIGlobeDisplayLayers gd = _globe.GlobeDisplay as IGlobeDisplayLayers; gd.RefreshLayer(fLayer as ILayer);//Apply globe layer properties updateFeatureLayerProperties(fLayer);//Now refreshing the layer with call to IGlobeDisplayLayers.RefreshLayer via the second command button on the user’s custom toolbar works fine2. OR if “updateFeatureLayerProperties” is called before adding a feature to the feature class. In this case the code will be a simple rearrangement of the original lines of code://Add the layer to globe as draped_globe.AddLayerType((ILayer)fLayer, esriGlobeLayerType.esriGlobeLayerTypeDraped, true);//Apply globe layer properties updateFeatureLayerProperties(fLayer);//Add a feature to the feature class addDrawing(System.Drawing.Color.Red, 10, fLayer);//Now refreshing the layer with call to IGlobeDisplayLayers.RefreshLayer via the second command button on the user’s custom toolbar works fine

Schritte zur Reproduzierung

Bug-ID: NIM004546

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln