GetConditionUpperValue Method


Gets the condition upper value (valid if less) for a given condition index.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2016

Syntax

C#
public double GetConditionUpperValue(
	int condition
)
Visual Basic
Public Function GetConditionUpperValue ( _
	condition As Integer _
) As Double
Visual C++
public:
double GetConditionUpperValue(
	int condition
)

Parameters

condition
Type: SystemInt32
The condition index.

Return Value

The condition upper value.

Remarks

A value of -1 indicates an unrestricted value.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The index condition is not larger or equal to 0 and less than ConditionCount.

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 →