This commit is contained in:
Sigma Dimensions (Yass)
2023-09-26 16:35:31 +01:00
parent c85e4e7ceb
commit 635dff73b4
@@ -48,7 +48,7 @@ class Usecase:
if inverse.is_a("IfcRelAssignsToControl"): if inverse.is_a("IfcRelAssignsToControl"):
[ [
ifcopenshell.api.run( ifcopenshell.api.run(
"sequence.remove_cost_item", self.file, task=related_object "cost.remove_cost_item", self.file, cost_item=related_object
) )
for related_object in inverse.RelatedObjects for related_object in inverse.RelatedObjects
if related_object.is_a("IfcCostItem") if related_object.is_a("IfcCostItem")