Share

LabelUtils.GetLabelFor(PipeLossMethodType, Document) Method

Gets the user-visible name for a PipeLossMethodType.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static string GetLabelFor(
	PipeLossMethodType pipeLossMethodType,
	Document doc
)

Parameters

pipeLossMethodType  PipeLossMethodType
The PipeLossMethodType to get the user-visible name.
doc  Document
The document from which to get the PipeLossMethodType.

Return Value

String

Exceptions

ExceptionCondition
InvalidOperationException Thrown when information for the input PipeLossMethodType cannot be found.

Remarks

The name is obtained in the current Revit language.

See Also

Reference

Was this information helpful?