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

Method is_abstract

src/bonsai/scripts/getIfcElements.py:68–69  ·  view source on GitHub ↗
(self, element)

Source from the content-addressed store, hash-verified

66 return self.is_descendant_from_class(self.get_parent_element(element), class_name)
67
68 def is_abstract(self, element):
69 return True if "abstract" in element.attrib else False
70
71 def get_attributes(self, element, attributes=None):
72 if attributes is None:

Callers 9

extractMethod · 0.95
get_classesFunction · 0.80
get_classesFunction · 0.80
validateFunction · 0.80
get_classesFunction · 0.80
get_fmhem_classFunction · 0.80
generate_ifc4_entity_mapFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected