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

Function the_object_name_is_not_a_void

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

Source from the content-addressed store, hash-verified

310
311
312def the_object_name_is_not_a_void(name):
313 ifc = tool.Ifc.get()
314 element = ifc.by_id(tool.Blender.get_ifc_definition_id(the_object_name_exists(name)))
315 if any(element.VoidsElements):
316 assert False, "A void was found"
317
318
319def the_void_name_is_filled_by_filling(name, filling):

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