(cls)
| 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]: |