SetOrdinateDimensionSetting Method


Dimension Type Set Ordinate Dimension Setting Method

Sets the ordinate dimension settings for this DimensionType.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetOrdinateDimensionSetting(
	OrdinateDimensionSetting ordinateDimSetting
)

Parameters

ordinateDimSetting OrdinateDimensionSetting
The new ordinate dimension settings.
Exceptions
Exception Condition
ArgumentException The origin tick mark id in the Ordinate Dimension Setting is invalid for the dimension style.
ArgumentNullException A non-optional argument was null
InvalidOperationException This DimensionType cannot be assigned ordinate dimension settings, as it is not a linear DimensionType or its Dimension String Type parameter is not set to Ordinate.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →