Revit 2025.3 API
Label |
Gets the user-visible name for a DuctLossMethodType.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static string GetLabelFor( DuctLossMethodType ductLossMethodType, Document doc )
Public Shared Function GetLabelFor ( ductLossMethodType As DuctLossMethodType, doc As Document ) As String
public: static String^ GetLabelFor( DuctLossMethodType ductLossMethodType, Document^ doc )
static member GetLabelFor : ductLossMethodType : DuctLossMethodType * doc : Document -> string
Parameters
- ductLossMethodType DuctLossMethodType
- The DuctLossMethodType to get the user-visible name.
- doc Document
- The document from which to get the DuctLossMethodType.
Return Value
String
Exception | Condition |
---|---|
InvalidOperationException | Thrown when information for the input DuctLossMethodType cannot be found. |

The name is obtained in the current Revit language.
See Also