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

Function get_created_by

src/ifcfm/ifcfm/cobie24.py:963–965  ·  view source on GitHub ↗
(element: ifcopenshell.entity_instance)

Source from the content-addressed store, hash-verified

961
962
963def get_created_by(element: ifcopenshell.entity_instance) -> Union[str, None]:
964 if getattr(element, "OwnerHistory", None):
965 return get_email_from_history(element.OwnerHistory)
966
967
968def get_email_from_history(element: ifcopenshell.entity_instance) -> Union[str, None]:

Callers 15

get_attributesFunction · 0.70
get_contact_dataFunction · 0.70
get_facility_dataFunction · 0.70
get_floor_dataFunction · 0.70
get_space_dataFunction · 0.70
get_zone_dataFunction · 0.70
get_type_dataFunction · 0.70
get_component_dataFunction · 0.70
get_system_dataFunction · 0.70
get_connection_dataFunction · 0.70
get_spare_dataFunction · 0.70
get_resource_dataFunction · 0.70

Calls 1

get_email_from_historyFunction · 0.70

Tested by

no test coverage detected