diff --git a/src/ifcopenshell-python/ifcopenshell/api/cost/assign_cost_item_quantity.py b/src/ifcopenshell-python/ifcopenshell/api/cost/assign_cost_item_quantity.py index c699bb1ebb..7ddfaa2dd0 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/cost/assign_cost_item_quantity.py +++ b/src/ifcopenshell-python/ifcopenshell/api/cost/assign_cost_item_quantity.py @@ -137,7 +137,7 @@ class Usecase: if self.prop_name or formula: self.quantities = set(cost_item.CostQuantities or []) for product in products: - if product.is_a("IfcSpatialElement"): + if product.is_a("IfcSpatialElement") and not product.is_a("IfcSpace"): continue ifcopenshell.api.control.assign_control( self.file,