RVTDocs.com
Namespace: Autodesk.Revit.DB Class: LabelUtils

LabelUtils.GetLabelForDiscipline

Method
Description:
Gets the user-visible name for a discipline.
Remarks:
The name is obtained in the current Revit language.
Syntax
public static string GetLabelForDiscipline(
	ForgeTypeId disciplineTypeId
)
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