BuildingElementAttributeList
Implementation of the attribute list
BuildingElementAttributeList
Canonical path: BuildingElementAttributeList.BuildingElementAttributeList
Implementation of the attribute list
__iadd__
__iadd__(other: BuildingElementAttributeList) -> BuildingElementAttributeList
implement the += operator
Parameters:
-
other(BuildingElementAttributeList) –attribute list to add
Returns:
-
BuildingElementAttributeList–attribute list
add_attribute
add an attribute to the list
Parameters:
-
attribute_id(int) –attribute ID
-
attribute_value(Any) –attribute value
add_attribute_by_unit
add an attribute to the list, convert the value to the attribute unit
Parameters:
-
attribute_id(int) –attribute ID
-
attribute_value(Any) –attribute value
add_attribute_list
add_attribute_list(attribute_list: list[Attribute])
add_attributes
add_attributes(attributes: list[tuple[int, Any]])
add_attributes_by_unit
add_attributes_by_unit(attributes: list[tuple[int, Any]])
add attributes to the list, convert the value to the attribute unit
Parameters:
-
attributes(list[tuple[int, Any]]) –attribute list
add_attributes_from_parameters
add_attributes_from_parameters(build_ele: BuildingElement)
add the attributes from the parameter attributes
Parameters:
-
build_ele(BuildingElement) –building element with the parameter properties
get_attribute_list
get_attribute_list() -> list[Attribute]
Placeholder