GetConditionDescription Method


Gets the description for the condition size range.

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

Syntax

C#
public string GetConditionDescription(
	int condition
)
Visual Basic
Public Function GetConditionDescription ( _
	condition As Integer _
) As String
Visual C++
public:
String^ GetConditionDescription(
	int condition
)

Parameters

condition
Type: SystemInt32
The index of the condition in the service button.

Return Value

A user-defined string that describes the condition range, as defined in the fabrication configuration. For example, this may describe the size of the range or describe the type of fitting.

Exceptions

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

See Also