Assigning a parametric profile type now auto switches from non parametric geometry to parametric geometry

This commit is contained in:
Dion Moult
2021-10-21 16:28:55 +11:00
parent aee7fbcc79
commit c437ba8f9d
11 changed files with 243 additions and 44 deletions
@@ -22,7 +22,8 @@ class Usecase:
ifcopenshell.util.element.remove_deep2(
self.file,
self.settings["representation"],
extra_subgraph_elements=list(styled_items | presentation_layer_assignments),
also_consider=list(styled_items | presentation_layer_assignments),
do_not_delete=self.file.by_type("IfcGeometricRepresentationContext"),
)
for element in styled_items: