ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipatchBuilderEx Class / MultipatchBuilderEx Constructor / MultipatchBuilderEx Constructor(MultipatchConstructType,MapPoint,Double,SpatialReference)
The type of multipatch to be constructed.
The center point of the Multipatch.
The size of the shape (height, length, width). It must be greater than 0.
(Optional)The spatial reference of the Multipatch.

In This Topic
    MultipatchBuilderEx Constructor(MultipatchConstructType,MapPoint,Double,SpatialReference)
    In This Topic
    Creates a new instance of the MultipatchBuilderEx class. Use this constructor to create a cube, tetrahedron, diamond or hexagon centered around the centerPt of the specified size.
    Syntax

    Parameters

    constructType
    The type of multipatch to be constructed.
    centerPt
    The center point of the Multipatch.
    size
    The size of the shape (height, length, width). It must be greater than 0.
    spatialReference
    (Optional)The spatial reference of the Multipatch.

    Return Value

    Exceptions
    ExceptionDescription
    The centerPt is empty or null.
    The size is invalid. It must be greater than 0.
    The constructType is invalid for this constructor.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also