mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 22:10:00 +00:00
fix f2097c0
This commit is contained in:
@@ -69,10 +69,16 @@ class Csv2Ifc:
|
|||||||
identification = row[self.headers["Identification"]] if "Identification" in self.headers else None
|
identification = row[self.headers["Identification"]] if "Identification" in self.headers else None
|
||||||
quantity = row[self.headers["Quantity"]]
|
quantity = row[self.headers["Quantity"]]
|
||||||
unit = row[self.headers["Unit"]]
|
unit = row[self.headers["Unit"]]
|
||||||
assignments = {
|
if not self.is_schedule_of_rates:
|
||||||
"PropertyName": row[self.headers["Property"]],
|
assignments = {
|
||||||
"Query": row[self.headers["Query"]],
|
"PropertyName": row[self.headers["Property"]],
|
||||||
}
|
"Query": row[self.headers["Query"]],
|
||||||
|
}
|
||||||
|
else:
|
||||||
|
assignments = {
|
||||||
|
"PropertyName": None,
|
||||||
|
"Query": None,
|
||||||
|
}
|
||||||
if self.has_categories:
|
if self.has_categories:
|
||||||
cost_values = {
|
cost_values = {
|
||||||
k: locale.atof(row[v])
|
k: locale.atof(row[v])
|
||||||
|
|||||||
Reference in New Issue
Block a user