mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 07:22:38 +00:00
#2224 You can now specify element offset / limit ranges when loading models
This commit is contained in:
@@ -495,6 +495,7 @@ class LoadProject(bpy.types.Operator, IFCFileSelector):
|
||||
return {"FINISHED"}
|
||||
context.scene.BIMProperties.ifc_file = self.filepath
|
||||
context.scene.BIMProjectProperties.is_loading = True
|
||||
context.scene.BIMProjectProperties.total_elements = len(tool.Ifc.get().by_type("IfcElement"))
|
||||
if not self.is_advanced:
|
||||
bpy.ops.bim.load_project_elements()
|
||||
return {"FINISHED"}
|
||||
|
||||
Reference in New Issue
Block a user