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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →