Bug
| Bug ID Number | BUG-000169804 |
|---|---|
| Submitted | August 8, 2024 |
| Last Modified | August 22, 2024 |
| Applies to | ArcGIS API for Python |
| Version found | 2.3.0 |
| Operating System | Windows OS |
| Operating System Version | 10.0 64 Bit |
| Version Fixed | Q4 2024 (version 2.4.0) |
| Status | Fixed |
In the case where the source type of the SceneLayer is known to be a feature service, set the private property of the SceneLayerManager class to the following:
from arcgis.gis import GIS
from arcgis.mapping import SceneLayer
gis = GIS('https://arcgis.com', '<username>', '<password>')
scene_layer = SceneLayer('<URL to scene service>', gis=gis)
scene_layer_manager = scene_layer.manager
scene_layer_manager._source_type = 'Feature Service'
result = scene_layer_manager.rebuild_cache(layers=0)
print(result)
Bug ID: BUG-000169804
Software:
Get help from ArcGIS experts
Download the Esri Support App