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

Method save_test_project

src/bonsai/bonsai/tool/project.py:536–541  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

534
535 @classmethod
536 def save_test_project(cls) -> None:
537 tmp = cls.TEMP_PROJECT_PATH.parent
538 # Clean up previous test project to avoid conflicts with non-updated assets.
539 if tmp.exists():
540 shutil.rmtree(tmp)
541 bpy.ops.bim.save_project(filepath=cls.TEMP_PROJECT_PATH.__str__(), should_save_as=True)
542
543 @classmethod
544 def get_metadata_document_information(cls) -> Optional[ifcopenshell.entity_instance]:

Callers 3

saving_ifc_projectFunction · 0.80
test_runMethod · 0.80

Calls 2

save_projectMethod · 0.45
__str__Method · 0.45

Tested by 3

saving_ifc_projectFunction · 0.64
test_runMethod · 0.64