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

LabelUtils.GetLabelFor(PipeLossMethodType, Document)

Method
Description:
Gets the user-visible name for a PipeLossMethodType.
Remarks:
The name is obtained in the current Revit language.
Syntax
public static string GetLabelFor(
	PipeLossMethodType pipeLossMethodType,
	Document doc
)
Parameters
Parameter Type Description
pipeLossMethodType PipeLossMethodType The PipeLossMethodType to get the user-visible name.
doc Document The document from which to get the PipeLossMethodType.
Return Value
Exceptions
Exception Condition
InvalidOperationException Thrown when information for the input PipeLossMethodType cannot be found.