MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / get_storey_data

Function get_storey_data

src/ifcfm/ifcfm/basic.py:84–95  ·  view source on GitHub ↗
(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance)

Source from the content-addressed store, hash-verified

82
83
84def get_storey_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]:
85 return {
86 "Name": element.Name,
87 "ClassificationIdentification": "Level",
88 "ClassificationName": get_classification_name(element),
89 "OrganizationName": get_owner_name(element),
90 "CreationDate": get_owner_creation_date(element),
91 "ModelSoftware": get_owner_application(element),
92 "ModelObject": element.is_a(),
93 "ModelID": element.GlobalId,
94 "Elevation": ifcopenshell.util.placement.get_storey_elevation(element),
95 }
96
97
98def get_space_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]:

Callers

nothing calls this directly

Calls 5

get_classification_nameFunction · 0.85
get_owner_creation_dateFunction · 0.85
get_owner_applicationFunction · 0.85
get_owner_nameFunction · 0.70
is_aMethod · 0.45

Tested by

no test coverage detected