漏洞
漏洞 ID 编号 | BUG-000145495 |
---|---|
已提交 | December 22, 2021 |
上次修改时间 | April 21, 2025 |
适用范围 | ArcGIS Pro |
找到的版本 | 2.9 |
操作系统 | Windows OS |
操作系统版本 | 11.0 64 bit |
状态 | Known Limit |
Use the following script to extract 3D models from the 3DOAT table if the only requirement is to obtain a copy of the 3D models:
##
from arcpy import da
import os
table = arcpy.GetParameterAsText(0)
result_folder = arcpy.GetParameterAsText(1)
with da.SearchCursor(table,['ESRI3DO_DATA','ESRI3DO_ASSET']) as cursor:
for row in cursor:
binaryRep = row[0]
fileName0 = row[1]
fileName = fileName0[15:]
if fileName0[-4:] != ".bin":
# write to disk
open(result_folder + os.sep + fileName, 'wb').write(binaryRep.tobytes())
else:
pass
del row
del binaryRep
del fileName
del fileName0
##
漏洞 ID: BUG-000145495
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序