| Revit 2017 API |
| FabricationServiceButton..::..GetConditionName Method |
| FabricationServiceButton Class See Also |
Gets the name of the specified condition on the fabrication service button.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.484.0)
Since:
2016
Syntax
| C# |
|---|
public string GetConditionName( int condition ) |
| Visual Basic |
|---|
Public Function GetConditionName ( _ condition As Integer _ ) As String |
| Visual C++ |
|---|
public: String^ GetConditionName( int condition ) |
Parameters
- condition
- Type: System..::..Int32
The condition index.
Return Value
The name of the specified condition on the fabrication service button.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | the index condition is not larger or equal to 0 and less than ConditionCount |