AreSegmentsEqual Property


Indicates if all segments are forced to be equal.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public bool AreSegmentsEqual { get; set; }
Visual Basic
Public Property AreSegmentsEqual As Boolean
	Get
	Set
Visual C++
public:
property bool AreSegmentsEqual {
	bool get ();
	void set (bool value);
}

Remarks

This property is usable only for linear dimensions with more than one segment.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException Thrown when the dimension is non-linear or has only one segment.

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 →