ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / Multipatch Class / To3DObjectXML Method
The 3D format to which this instance should be converted to. Supported values are: 3D_dae: Collada 3D_dwg: Autodesk DWG 3D_fbx: Autodesk FBX 3D_glb: Khronos Group glTF binary 3D_gltf: Khronos Group glTF JSON 3D_ifc: Industry Foundation Classes 3D_obj: Wavefront OBJ 3D_shapebuffer: Esri shape buffer 3D_usd: Universal Scene Description 3D_usda: Universal Scene Description(text) 3D_usdc: Universal Scene Description 3D_usdz: Universal Scene Description(zip) any: return all assets as-is without any conversion
Version

To3DObjectXML Method
Get a 3D object XML representation of this instance in the format provided.
Syntax
public string To3DObjectXML( 
   string format
)

Parameters

format
The 3D format to which this instance should be converted to. Supported values are: 3D_dae: Collada 3D_dwg: Autodesk DWG 3D_fbx: Autodesk FBX 3D_glb: Khronos Group glTF binary 3D_gltf: Khronos Group glTF JSON 3D_ifc: Industry Foundation Classes 3D_obj: Wavefront OBJ 3D_shapebuffer: Esri shape buffer 3D_usd: Universal Scene Description 3D_usda: Universal Scene Description(text) 3D_usdc: Universal Scene Description 3D_usdz: Universal Scene Description(zip) any: return all assets as-is without any conversion

Return Value

A XML document representing the 3D object with the asset(s) in the requested format or null if this MultiPatch does not have a 3D object handle.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.2 or higher.
See Also