GetAssociatedRailings Method


Gets a list of the Railing elements which are associated to the boundaries of the stairs.

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

Syntax

C#
public ICollection<ElementId> GetAssociatedRailings()
Visual Basic
Public Function GetAssociatedRailings As ICollection(Of ElementId)
Visual C++
public:
ICollection<ElementId^>^ GetAssociatedRailings()

Return Value

The ids of the Railing elements.

Remarks

This does not return railings which are sketched directly to the stairs (and are not associated to boundaries).

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 →