GetConditionDescription Method


Gets the description for the condition size range.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.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: System Int32
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

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException 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 →