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

Function get_classification_name

src/ifcfm/ifcfm/basic.py:227–230  ·  view source on GitHub ↗
(element: ifcopenshell.entity_instance)

Source from the content-addressed store, hash-verified

225
226
227def get_classification_name(element: ifcopenshell.entity_instance) -> Union[str, None]:
228 references = list(ifcopenshell.util.classification.get_references(element))
229 if references:
230 return references[0].Name
231
232
233def get_property(

Callers 5

get_facility_dataFunction · 0.85
get_storey_dataFunction · 0.85
get_space_dataFunction · 0.85
get_element_type_dataFunction · 0.85
get_system_dataFunction · 0.85

Calls 1

get_referencesMethod · 0.45

Tested by

no test coverage detected