This commit is contained in:
Andrej730
2024-11-18 11:09:59 +05:00
parent ec521916da
commit b2e3a4dd82
10 changed files with 62 additions and 34 deletions
@@ -56,7 +56,9 @@ def get_total_quantity(root_element: ifcopenshell.entity_instance) -> Union[floa
def calculate_applied_value(
root_element: ifcopenshell.entity_instance, cost_value: ifcopenshell.entity_instance, category_filter=None
root_element: ifcopenshell.entity_instance,
cost_value: ifcopenshell.entity_instance,
category_filter: Optional[str] = None,
) -> float:
if cost_value.ArithmeticOperator and cost_value.Components:
component_values = []