Revit 2026 API
Non |
Checks whether the input height is valid for a non-continuous rail in its associated railing type.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool IsValidNonContinuousRailHeight( double height )
Public Function IsValidNonContinuousRailHeight ( height As Double ) As Boolean
public: bool IsValidNonContinuousRailHeight( double height )
member IsValidNonContinuousRailHeight : height : float -> bool
Parameters
- height Double
- The height to be checked.
Return Value
BooleanTrue if the height is smaller than the height of [!:Autodesk::Revit::DB::Architecture::RailingType], false otherwise.

The height cannot be greater than the height of a [!:Autodesk::Revit::DB::Architecture::RailingType]
to which the non-continuous rail belongs.
See Also