IsValidNonContinuousRailHeight Method


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: 19.0.0.0 (19.0.0.405)
Since: 2019

Syntax

C#
public bool IsValidNonContinuousRailHeight(
	double height
)
Visual Basic
Public Function IsValidNonContinuousRailHeight ( _
	height As Double _
) As Boolean
Visual C++
public:
bool IsValidNonContinuousRailHeight(
	double height
)

Parameters

height
Type: System Double
The height to be checked.

Return Value

True if the height is smaller than the height of [!:Autodesk::Revit::DB::Architecture::RailingType] , false otherwise.

Remarks

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

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →