From 5ba82d7764105fac1210b19250cabbde478df090 Mon Sep 17 00:00:00 2001 From: Massimo Fabbro Date: Sun, 8 Jun 2025 10:28:19 +0200 Subject: [PATCH] See #5155. Update doc accordingly --- .../ifcopenshell/api/cost/assign_cost_item_quantity.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 aa11a3b209..fb30eb81e2 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 @@ -47,7 +47,9 @@ def assign_cost_item_quantity( If cost item has just 1 quantity and it's IfcQuantityCount, API will assume that quantity is used for counting controlled objects - and it will recalculate the quantity value at the end of the API call. + and it will recalculate the quantity value at the end of the API call + as long as the relaedObjects are not IfcConstructionResource which do not + count towards the cost item (they only provide value). :param cost_item: The IfcCostItem to assign parametric quantities to :type cost_item: ifcopenshell.entity_instance