This commit is contained in:
Andrej730
2025-01-20 16:16:33 +05:00
parent 3ad247b9a7
commit c0499a2c88
8 changed files with 13 additions and 16 deletions
@@ -45,6 +45,7 @@ def validate_type(
:return: True if the representation type was set and it is a valid
combination, or False otherwise.
"""
def is_operand(item):
return (
item.is_a("IfcBooleanResult")
@@ -39,7 +39,6 @@ class TestRemoveBoolean(test.bootstrap.IFC4):
assert set(rep.Items) == {first, second}
assert not self.file.by_type("IfcBooleanResult")
def test_removing_a_top_level_nested_boolean(self):
ifcopenshell.api.root.create_entity(self.file, ifc_class="IfcProject")
model = ifcopenshell.api.context.add_context(self.file, context_type="Model")