Skip to content

BH.oM.Environment.SAP.XML.BuildingPart

Class structure

Implemented interfaces and base types

The BuildingPart is inheriting from the following base type(s) and implements the following interfaces:

Properties

Defining properties

The following properties are defined on the class

Name Type Description Quantity
Identifier string Identifier for the Building part - generally only required if there are more that one Building Parts of the same type. -
BuildingPartNumber string An integer value which uniquely identifies the building part in the property. The value "1" must be assigned to the main dwelling. -
ConstructionYear string The year when this building part was constructed. Not used if 'Construction-Age-Band' is used. -
ConstructionAgeBand string The age band when this building part was constructed. Not used if 'Construction-Year' is used. -
FloorDimensions FloorDimensions Storeys that make up a particular Building-Part. -
Openings Openings Exposed openings that make up a particular Building-Part. -
Roofs Roofs Exposed roofs that make up a particular Building - Part. -
Walls Walls Exposed walls that make up a particular Storey. -
ThermalBridges ThermalBridges Thermal bridges that make up a particular Building-Part. -

Inherited properties

The following properties are inherited from the base class of the object

Name Type Description Quantity
BHoM_Guid Guid - -
Name string - -
Fragments FragmentSet - -
Tags HashSet<string> - -
CustomData Dictionary<string, object> - -

Code and Schema

C# implementation

C#
public class BuildingPart : BH.oM.Base.BHoMObject, BH.oM.Base.IBHoMObject, BH.oM.Base.IObject

Assembly: SAP_oM.dll

The C# class definition is available on github:

All history and changes of the class can be found by inspection the history.

JSON Schema implementation

The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.

JSON Schema
{
 "$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/SAP_oM/SAP/XML/BuildingPart.json"
}

The JSON Schema is available on github here: