operator to toggle container elements

Example - https://imgur.com/a/Sy83Tnz
This commit is contained in:
Andrej730
2024-08-27 17:31:35 +05:00
parent 8bb78959ef
commit d2efb2ab78
6 changed files with 43 additions and 8 deletions
+5
View File
@@ -141,6 +141,11 @@ def delete_container(
spatial.import_spatial_decomposition()
def toggle_container_element(spatial: tool.Spatial, ifc_class: str) -> None:
spatial.toggle_container_element(ifc_class)
spatial.load_contained_elements()
def select_decomposed_elements(
spatial: tool.Spatial,
container: ifcopenshell.entity_instance,