Revit 2026 API
Energy |
Checks that the building type falls within an appropriate range.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static bool CheckBuildingType( gbXMLBuildingType buildingType )
Public Shared Function CheckBuildingType ( buildingType As gbXMLBuildingType ) As Boolean
public: static bool CheckBuildingType( gbXMLBuildingType buildingType )
static member CheckBuildingType : buildingType : gbXMLBuildingType -> bool
Parameters
- buildingType gbXMLBuildingType
- The building type to be checked.
Return Value
BooleanTrue if the building 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