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

Function get_created_on

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

Source from the content-addressed store, hash-verified

995
996
997def get_created_on(element: ifcopenshell.entity_instance) -> str:
998 if getattr(element, "OwnerHistory", None):
999 return ifcopenshell.util.date.ifc2datetime(element.OwnerHistory.CreationDate).isoformat()
1000 return "1900-12-31T23:59:59" # Yes, really
1001
1002
1003def get_external_system(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

no outgoing calls

Tested by

no test coverage detected