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

Function the_object_name_exists

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

Source from the content-addressed store, hash-verified

170
171
172def the_object_name_exists(name):
173 obj = bpy.data.objects.get(name)
174 if not obj:
175 assert False, f'The object "{name}" does not exist'
176 return obj
177
178
179def an_ifc_file_exists():

Calls 1

getMethod · 0.45

Tested by

no test coverage detected