mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
fix demo library references after 7a7c89e
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user