Minor alignment of Basic FM preset to IFC property naming

This commit is contained in:
Dion Moult
2023-11-15 16:47:42 +11:00
parent b3a2c7c4b7
commit 4fb01f2fe6
+6 -4
View File
@@ -104,8 +104,9 @@ def get_space_data(ifc_file, element):
"CreationDate": get_owner_creation_date(element), "CreationDate": get_owner_creation_date(element),
"ModelSoftware": get_owner_application(element), "ModelSoftware": get_owner_application(element),
"ModelID": element.GlobalId, "ModelID": element.GlobalId,
"AreaGross": get_property(psets, "Qto_SpaceBaseQuantities", "GrossFloorArea", decimals=2), "FinishCeilingHeight": get_property(psets, "Qto_SpaceBaseQuantities", "FinishCeilingHeight", decimals=2),
"AreaNet": get_property(psets, "Qto_SpaceBaseQuantities", "NetFloorArea", decimals=2), "GrossFloorArea": get_property(psets, "Qto_SpaceBaseQuantities", "GrossFloorArea", decimals=2),
"NetFloorArea": get_property(psets, "Qto_SpaceBaseQuantities", "NetFloorArea", decimals=2),
} }
@@ -297,8 +298,9 @@ config = {
"CreationDate", "CreationDate",
"ModelSoftware", "ModelSoftware",
"ModelID", "ModelID",
"AreaGross", "FinishCeilingHeight",
"AreaNet", "GrossFloorArea",
"NetFloorArea",
], ],
"colours": "ppprreeess", "colours": "ppprreeess",
"sort": [{"name": "LevelName", "order": "ASC"}, {"name": "Name", "order": "ASC"}], "sort": [{"name": "LevelName", "order": "ASC"}, {"name": "Name", "order": "ASC"}],