Csv2Ifc - move arguments to init for a simpler setup

This commit is contained in:
Andrej730
2025-04-17 16:58:59 +05:00
parent 209caec49a
commit 37a0b3f6a9
4 changed files with 52 additions and 19 deletions
+1 -4
View File
@@ -568,10 +568,7 @@ class Cost(bonsai.core.tool.Cost):
import time
start = time.time()
csv2ifc = Csv2Ifc()
csv2ifc.csv = file_path
csv2ifc.file = tool.Ifc.get()
csv2ifc.is_schedule_of_rates = is_schedule_of_rates
csv2ifc = Csv2Ifc(file_path, tool.Ifc.get(), is_schedule_of_rates=is_schedule_of_rates)
csv2ifc.execute()
print("Import finished in {:.2f} seconds".format(time.time() - start))