mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
@@ -104,7 +104,7 @@ class Usecase:
|
|||||||
if self.settings["prop_name"]:
|
if self.settings["prop_name"]:
|
||||||
self.quantities = set(self.settings["cost_item"].CostQuantities or [])
|
self.quantities = set(self.settings["cost_item"].CostQuantities or [])
|
||||||
for product in self.settings["products"]:
|
for product in self.settings["products"]:
|
||||||
if not product.is_a("IfcElement"):
|
if product.is_a("IfcSpatialElement"):
|
||||||
continue
|
continue
|
||||||
self.assign_cost_control(related_object=product, cost_item=self.settings["cost_item"])
|
self.assign_cost_control(related_object=product, cost_item=self.settings["cost_item"])
|
||||||
if self.settings["prop_name"]:
|
if self.settings["prop_name"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user