Import a Bill of Quantities as .csv file
I can happily import a .csv file with a bill of quantity data in BBIM, here is the csv:
and here the corresponding Schedule in BBIM (PRICEDBILLOFQUANTITIES as PredefinedType ), no issue.
Connecting to model elements and schedule of rates
If I need to update the quantity of an item to be connected to some element in the model it's not a problem, I know how, BUT , as a normal workflow the rate of the item in the BoQ needs to come from a Schedule of Rates (SoR) like below:
to which similar items in the BoQ are connected, without being hardcoded in the CSV/BoQ.
At the moment my only option is to create a SoR directly using the GUI in BBIM and enter the items one by one, like the above image. A bit tedious when dealing with many rates, not to mention that it's usually a document used across different models/projects, often times subject to percentage variations.
Problem
I can't figure out how to import a SoR as CSV.
I tried to set the imported BoQ as SCHEDULEOFRATES but the result is odd:
-
unit of measure is no longer available (it shows U instead of m3)
-
the rate is the one from the CSV, which is fine
-
the Subtotal column, that should only work in summaries, uses the Quantity x Rate not giving the correct amount at the item level
Exporting a manually created SoR as .csv and importing it back resulted in an error, probably the schema needs to be somewhat different.
Question
Is it possible to import a specific Schedule of Rates as a .csv file? My python skills are not good enough to decipher the csv2ifc.py available at https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.7.0/src/ifc5d/ifc5d/csv2ifc.py.
But it looks like it's mentioned in there...
What did I miss? Do I have to use a different CSV structure or?..
As always your help is greatly appreciated, thanks in advance