MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / create_cost_items

Method create_cost_items

src/ifc5d/ifc5d/csv2ifc.py:260–265  ·  view source on GitHub ↗
(
        self, cost_items: list[CostItem], parent: Optional[ifcopenshell.entity_instance] = None
    )

Source from the content-addressed store, hash-verified

258 self.create_cost_items(self.cost_items)
259
260 def create_cost_items(
261 self, cost_items: list[CostItem], parent: Optional[ifcopenshell.entity_instance] = None
262 ) -> None:
263 # Not using `self.cost_items` directly to allow recursion.
264 for cost_item in cost_items:
265 self.create_cost_item(cost_item, parent)
266
267 def create_cost_item(self, cost_item: CostItem, parent: Optional[ifcopenshell.entity_instance] = None) -> None:
268 assert self.file

Callers 3

refreshMethod · 0.95
create_ifcMethod · 0.95
create_cost_itemMethod · 0.95

Calls 1

create_cost_itemMethod · 0.95

Tested by

no test coverage detected