(element: ifcopenshell.entity_instance)
| 217 | |
| 218 | |
| 219 | def get_classification_identification(element: ifcopenshell.entity_instance) -> Union[str, None]: |
| 220 | references = list(ifcopenshell.util.classification.get_references(element)) |
| 221 | if references: |
| 222 | if hasattr(references[0], "Identification"): |
| 223 | return references[0].Identification |
| 224 | return references[0].ItemReference |
| 225 | |
| 226 | |
| 227 | def get_classification_name(element: ifcopenshell.entity_instance) -> Union[str, None]: |
no test coverage detected