mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
operator to toggle container elements
Example - https://imgur.com/a/Sy83Tnz
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user