ArcGIS Pro 2.7 API Reference Guide
SetDimensionShape Method

ArcGIS.Core.Data.Mapping Namespace > DimensionFeature Class : SetDimensionShape Method
A ArcGIS.Core.CIM.CIMDimensionShape for the feature.
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 10, Windows 8.1

See Also

Reference

DimensionFeature Class
DimensionFeature Members