MiddleSupportType Property


The type of middle supports used in the stair.

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

Syntax

C#
public ElementId MiddleSupportType { get; set; }
Visual Basic
Public Property MiddleSupportType As ElementId
	Get
	Set
Visual C++
public:
property ElementId^ MiddleSupportType {
	ElementId^ get ();
	void set (ElementId^ value);
}

Field Value

invalidElementId if the stairs type has no middle support.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException When setting this property: supportType is not a valid middle support type.
Autodesk.Revit.Exceptions ArgumentNullException When setting this property: A non-optional argument was null
Autodesk.Revit.Exceptions InvalidOperationException 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 →