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

Function the_object_name_is_not_voided

src/bonsai/test/bim/bootstrap.py:305–309  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

303
304
305def the_object_name_is_not_voided(name):
306 ifc = tool.Ifc.get()
307 element = ifc.by_id(tool.Blender.get_ifc_definition_id(the_object_name_exists(name)))
308 if any(element.HasOpenings):
309 assert False, "An opening was found"
310
311
312def the_object_name_is_not_a_void(name):

Callers

nothing calls this directly

Calls 4

get_ifc_definition_idMethod · 0.80
the_object_name_existsFunction · 0.70
getMethod · 0.45
by_idMethod · 0.45

Tested by

no test coverage detected