mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Fix bug where you couldn't filter imported subelements without also selecting their parents
This commit is contained in:
@@ -54,3 +54,6 @@ class Usecase:
|
||||
if not element.is_a("IfcProduct") or not element.ObjectPlacement:
|
||||
return
|
||||
element.ObjectPlacement = ifcopenshell.util.element.copy(self.file, element.ObjectPlacement)
|
||||
element.ObjectPlacement.RelativePlacement = ifcopenshell.util.element.copy_deep(
|
||||
self.file, element.ObjectPlacement.RelativePlacement
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user