Revit 2025.3 API
Energy |
Checks that the service type falls within an appropriate range.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool CheckServiceType( gbXMLServiceType serviceType )
Public Shared Function CheckServiceType ( serviceType As gbXMLServiceType ) As Boolean
public: static bool CheckServiceType( gbXMLServiceType serviceType )
static member CheckServiceType : serviceType : gbXMLServiceType -> bool
Parameters
- serviceType gbXMLServiceType
- The service type to be checked.
Return Value
BooleanTrue if the service type falls within an appropriate range, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also