Railing.GetSubelementOnLevel
Description:
Gets the subelement on given level.
Gets the subelement on given level.
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.
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.
public Subelement GetSubelementOnLevel(
ElementId levelId
)
-
levelIdThe id of the level the railing subelement is placed on.
Return Value
nullNothingnullptr
The subelement in given level. null Nothing nullptr a null reference ( Nothing in Visual Basic) will be returned if railing has no subelements on given level.
-
A non-optional argument was NULL
-
The railing is not hosted by stairs inMultistoryStairs.