mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
Support other voiding IfcFeatureElementSubtraction elements #3889
Support other voiding IfcFeatureElementSubtraction besides IfcOpeningElement.
This commit is contained in:
@@ -801,7 +801,7 @@ class EditOpenings(Operator, tool.Ifc.Operator):
|
||||
return {"FINISHED"}
|
||||
|
||||
def get_all_building_objects_of_similar_openings(self, opening):
|
||||
if not opening.HasFillings:
|
||||
if not opening.is_a("IfcOpeningElement") or not opening.HasFillings:
|
||||
return []
|
||||
results = set()
|
||||
for rel in opening.HasFillings:
|
||||
|
||||
Reference in New Issue
Block a user