Bug
| Bug ID Number | BUG-000135314 |
|---|---|
| Submitted | November 10, 2020 |
| Last Modified | July 11, 2025 |
| Applies to | ArcGIS Pro SDK for .NET |
| Version found | 2.6.3 |
| Operating System | Windows OS |
| Operating System Version | 10.0 |
| Version Fixed | 2.7 |
| Status | Fixed |
Consider the following code:
var multi = new MultipatchBuilder(mpb.ToGeometry() as Multipatch);
multi.SpatialReference = gda94;
mutltipatch = multi.ToGeometry();
where mpb is a MultipatchBuilderEx object and GDA94 is a spatial reference. By getting the geometry of the mpb and sending that as a parameter for the Multipatch Builder constructor, the user can set the spatial reference of the multipatch geometry to whatever the user wants and then use the ToGeometry() method to get a geometry object with a spatial reference.
Bug ID: BUG-000135314
Software:
Get help from ArcGIS experts
Download the Esri Support App