Bug
Bug ID Number | BUG-000145495 |
---|---|
Submitted | December 22, 2021 |
Last Modified | April 21, 2025 |
Applies to | ArcGIS Pro |
Version found | 2.9 |
Operating System | Windows OS |
Operating System Version | 11.0 64 bit |
Status | 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
##
Bug ID: BUG-000145495
Software:
Get help from ArcGIS experts
Download the Esri Support App