Gets the subelement on given level.
Namespace: Autodesk.Revit.DB.ArchitectureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Subelement GetSubelementOnLevel(
ElementId levelId
)
Parameters
- levelId ElementId
-
The id of the level the railing subelement is placed on.
Return Value
Subelement
The subelement in given level.
null will be returned if railing has no subelements on given level.
Exceptions
Remarks
The method is valid only for railings hosted by stairs in
MultistoryStairs.
Input level should be a level of the railing stairs.
See getStairsPlacementLevels method of
MultistoryStairs.
See Also
Reference