MiddleSupportsNumber Property


The number of middle supports used in the stair.

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

Syntax

C#
public int MiddleSupportsNumber { get; set; }
Visual Basic
Public Property MiddleSupportsNumber As Integer
	Get
	Set
Visual C++
public:
property int MiddleSupportsNumber {
	int get ();
	void set (int value);
}

Field Value

0 if the stairs type has no middle support.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException When setting this property: The given value for supportsNumber is negative.
Autodesk.Revit.ExceptionsInvalidOperationException When setting this property: The stairs type has no middle support so the data being set is not applicable.

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 →