mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Editing object placements is now 3x faster on large files. See #1807.
This commit is contained in:
@@ -35,7 +35,7 @@ class Usecase:
|
||||
if len(inverses) == 1:
|
||||
self.settings["product"].ObjectPlacement = None
|
||||
old_placement.PlacementRelTo = None
|
||||
ifcopenshell.util.element.remove_deep(self.file, old_placement)
|
||||
ifcopenshell.util.element.remove_deep2(self.file, old_placement)
|
||||
else:
|
||||
for inverse in inverses:
|
||||
if inverse.is_a("IfcLocalPlacement"):
|
||||
|
||||
Reference in New Issue
Block a user