LabelUtils.GetLabelForDiscipline
Method
Description:
Gets the user-visible name for a discipline.
Gets the user-visible name for a discipline.
Remarks:
The name is obtained in the current Revit language.
The name is obtained in the current Revit language.
Parameters
| Parameter | Type | Description |
|---|---|---|
| disciplineTypeId | ForgeTypeId | Identifier of the discipline. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Discipline must have a definition. |
| ArgumentNullException | A non-optional argument was null |