Gets the user-visible name for a discipline.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static string GetLabelForDiscipline(
ForgeTypeId disciplineTypeId
)
Parameters
- disciplineTypeId ForgeTypeId
-
Identifier of the discipline.
Return Value
String
Returns the user-visible name for a discipline.
Exceptions
Remarks
The name is obtained in the current Revit language.
See Also
Reference