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

Function get_zone_data

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

Source from the content-addressed store, hash-verified

114
115
116def get_zone_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]:
117 zone, space = element
118 return {
119 "Name": zone.Name,
120 "SpaceName": space.Name,
121 "OrganizationName": get_owner_name(zone),
122 "CreationDate": get_owner_creation_date(zone),
123 "ModelSoftware": get_owner_application(zone),
124 "ModelID": zone.GlobalId,
125 }
126
127
128def get_element_type_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]:

Callers

nothing calls this directly

Calls 3

get_owner_creation_dateFunction · 0.85
get_owner_applicationFunction · 0.85
get_owner_nameFunction · 0.70

Tested by

no test coverage detected