漏洞
| 漏洞 ID 编号 | BUG-000169804 |
|---|---|
| 已提交 | August 8, 2024 |
| 上次修改时间 | August 22, 2024 |
| 适用范围 | ArcGIS API for Python |
| 找到的版本 | 2.3.0 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 64 Bit |
| 修正版本 | Q4 2024 (version 2.4.0) |
| 状态 | 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)
漏洞 ID: BUG-000169804
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序