ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Mapping Namespace / DimensionFeature Class / SetDimensionShape Method
A ArcGIS.Core.CIM.CIMDimensionShape for the feature.

In This Topic
    SetDimensionShape Method
    In This Topic
    Sets a ArcGIS.Core.CIM.CIMDimensionShape for the feature. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetDimensionShape( 
       CIMDimensionShape dimensionShape
    )
    Public Sub SetDimensionShape( _
       ByVal dimensionShape As CIMDimensionShape _
    ) 

    Parameters

    dimensionShape
    A ArcGIS.Core.CIM.CIMDimensionShape for the feature.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception occured.
    dimensionShape is null.
    Either the ArcGIS.Core.CIM.CIMDimensionShape is null or BeginDimensionPoint, EndDimensionPoint or DimensionLinePoint are null.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also