#2224 Expose unload project in UI to aid in unlinking IFCs for coordination only

This commit is contained in:
Dion Moult
2022-06-08 19:09:55 +10:00
parent cdabc507e1
commit 3507920c09
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -48,8 +48,7 @@ props.element_limit = 30000
bpy.ops.bim.load_project(filepath="/path/to/your/model/input.ifc")
# In coordination mode, it is unnecessary to maintain a link to the IFC
bpy.context.scene.BIMProperties.ifc_file = ""
IfcStore.file = None
bpy.ops.bim.unload_project()
# Save the processed file here
bpy.ops.wm.save_mainfile(filepath="/path/to/your/model/output.blend")