(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance)
| 743 | |
| 744 | |
| 745 | def get_resource_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]: |
| 746 | return { |
| 747 | "Name": val(element.Name), |
| 748 | "CreatedBy": get_created_by(element), |
| 749 | "CreatedOn": get_created_on(element), |
| 750 | "Category": val(element.ObjectType), |
| 751 | "ExternalSystem": get_external_system(element), |
| 752 | "ExternalObject": element.is_a(), |
| 753 | "ExternalIdentifier": element.GlobalId, |
| 754 | "Description": val(element.Description) or val(element.Name), |
| 755 | } |
| 756 | |
| 757 | |
| 758 | def get_job_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]: |
nothing calls this directly
no test coverage detected