fix demo library references after 7a7c89e

This commit is contained in:
Andrej730
2024-03-05 16:11:34 +05:00
parent 20cb6ab007
commit 1c052d1417
3 changed files with 3 additions and 3 deletions
@@ -83,7 +83,7 @@ class NewProject(bpy.types.Operator):
bpy.context.scene.unit_settings.length_unit = "MILLIMETERS"
bpy.context.scene.BIMProperties.area_unit = "SQUARE_METRE"
bpy.context.scene.BIMProperties.volume_unit = "CUBIC_METRE"
bpy.context.scene.BIMProjectProperties.template_file = "IFC4 Demo Library.ifc"
bpy.context.scene.BIMProjectProperties.template_file = "IFC4 Demo Template.ifc"
if self.preset != "wizard":
bpy.ops.bim.create_project()
@@ -41,7 +41,7 @@ project, or view high level project metadata about the currently loaded project.
Choose between starting a completely blank project with no objects, or with
preloaded object assets (such as wall types, beam types, etc) that you can
use immediately. The blank project is recommended for users who want to
curate assets, whereas the IFC4 Demo Library is recommended for users wanting
curate assets, whereas the IFC4 Demo Template is recommended for users wanting
to experiment and learn with a basic set of objects.
This also shows other larger object libraries for steel and countries
+1 -1
View File
@@ -173,7 +173,7 @@ class TestSetObjectName(NewFile):
class TestReassignClass(NewFile):
def test_run(self):
bpy.context.scene.BIMProjectProperties.template_file = "IFC4 Demo Library.ifc"
bpy.context.scene.BIMProjectProperties.template_file = "IFC4 Demo Template.ifc"
bpy.ops.bim.create_project()
ifc_file = tool.Ifc.get()
context = bpy.context