mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 11:43:53 +00:00
See #4796. Fix issue where orphaned aggregate is never shown when loading IFC.
This commit is contained in:
@@ -1702,6 +1702,7 @@ class IfcImporter:
|
|||||||
if aggregate["element"].is_a("IfcElementType"):
|
if aggregate["element"].is_a("IfcElementType"):
|
||||||
self.type_collection.children.link(aggregate["collection"])
|
self.type_collection.children.link(aggregate["collection"])
|
||||||
continue
|
continue
|
||||||
|
self.project["blender"].children.link(aggregate["collection"])
|
||||||
|
|
||||||
def create_materials(self) -> None:
|
def create_materials(self) -> None:
|
||||||
for material in self.file.by_type("IfcMaterial"):
|
for material in self.file.by_type("IfcMaterial"):
|
||||||
|
|||||||
Reference in New Issue
Block a user