From 7bdbfee041207583344269015873a660cbce3404 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Sat, 29 Mar 2025 23:30:04 +0500 Subject: [PATCH] Fix bim.export_cost_schedules #6463 (4594f59) --- src/bonsai/bonsai/bim/module/cost/operator.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bonsai/bonsai/bim/module/cost/operator.py b/src/bonsai/bonsai/bim/module/cost/operator.py index 79338d5ede..9dfe4c20fd 100644 --- a/src/bonsai/bonsai/bim/module/cost/operator.py +++ b/src/bonsai/bonsai/bim/module/cost/operator.py @@ -695,6 +695,10 @@ class ExportCostSchedules(bpy.types.Operator, ExportHelper): default=True, ) + @property + def filename_ext(self) -> str: + return f".{self.format.lower()}" + def execute(self, context): cost_schedule = tool.Ifc.get().by_id(self.cost_schedule) if self.cost_schedule else None r = core.export_cost_schedules(