(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance)
| 96 | |
| 97 | |
| 98 | def get_space_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]: |
| 99 | psets = ifcopenshell.util.element.get_psets(element) |
| 100 | return { |
| 101 | "Name": element.Name, |
| 102 | "Description": element.LongName, |
| 103 | "ClassificationIdentification": get_classification_identification(element), |
| 104 | "ClassificationName": get_classification_name(element), |
| 105 | "StoreyName": getattr(get_facility_parent(element, "IfcBuildingStorey"), "Name", None), |
| 106 | "OrganizationName": get_owner_name(element), |
| 107 | "CreationDate": get_owner_creation_date(element), |
| 108 | "ModelSoftware": get_owner_application(element), |
| 109 | "ModelID": element.GlobalId, |
| 110 | "FinishCeilingHeight": get_property(psets, "Qto_SpaceBaseQuantities", "FinishCeilingHeight", decimals=2), |
| 111 | "GrossFloorArea": get_property(psets, "Qto_SpaceBaseQuantities", "GrossFloorArea", decimals=2), |
| 112 | "NetFloorArea": get_property(psets, "Qto_SpaceBaseQuantities", "NetFloorArea", decimals=2), |
| 113 | } |
| 114 | |
| 115 | |
| 116 | def get_zone_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]: |
nothing calls this directly
no test coverage detected