mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
Fix bug where some appended assets created invalid graphs due to poor purging
This commit is contained in:
@@ -105,7 +105,7 @@ the boolean, or create a **Blacklist Filter Mode** to exclude the element from
|
|||||||
import.
|
import.
|
||||||
|
|
||||||
These types of errors are usually problems with external software (i.e. not
|
These types of errors are usually problems with external software (i.e. not
|
||||||
internationally by the end-user) and typically do not affect critical geometry
|
intentionally by the end-user) and typically do not affect critical geometry
|
||||||
and can be worked around.
|
and can be worked around.
|
||||||
|
|
||||||
Fully resolving boolean issues is a complex case by case topic and not covered
|
Fully resolving boolean issues is a complex case by case topic and not covered
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ class Usecase:
|
|||||||
for inverse in self.file.get_inverse(added_context):
|
for inverse in self.file.get_inverse(added_context):
|
||||||
ifcopenshell.util.element.replace_attribute(inverse, added_context, equivalent_existing_context)
|
ifcopenshell.util.element.replace_attribute(inverse, added_context, equivalent_existing_context)
|
||||||
for added_context in added_contexts:
|
for added_context in added_contexts:
|
||||||
ifcopenshell.util.element.remove_deep(self.file, added_context)
|
ifcopenshell.util.element.remove_deep2(self.file, added_context)
|
||||||
|
|
||||||
element_type = ifcopenshell.util.element.get_type(self.settings["element"])
|
element_type = ifcopenshell.util.element.get_type(self.settings["element"])
|
||||||
if element_type:
|
if element_type:
|
||||||
|
|||||||
Reference in New Issue
Block a user