fixed bug with wall attributes cleaning

This commit is contained in:
Khalim Conn-Kowlessar 2026-01-02 20:23:50 +08:00
parent 3fc1e69e50
commit ddd4aa479b
2 changed files with 6 additions and 0 deletions

View file

@ -614,6 +614,9 @@ class Property:
# Handling edge case for walls
fill_with = False if description == "walls-description" else None
fill_dict = dict(zip(template.keys(), [fill_with] * len(template)))
if description == "walls-description":
fill_dict["thermal_transmittance_unit"] = None
fill_dict["insulation_thickness"] = "none"
fill_dict.update(
{

View file

@ -148,6 +148,9 @@ class WallAttributes(Definitions):
for key in self.DEFAULT_KEYS:
result[key] = False
result["thermal_transmittance_unit"] = None
result["insulation_thickness"] = "none"
return result
description = self.description.lower()