pub fn nest_cost_items(
tx: &mut Transaction,
model: &Model,
draft: NestingDraft<'_>,
) -> CostAuthoringResult<EntityId>Expand description
Validate and stage ordered cost-item nesting, with OwnerHistory unset.
Self-reference, duplicate children, second parents, and projected cycles are refused.
ยงErrors
Those refusals, a malformed or duplicate GlobalId, a parent or child
that is not an IfcCostItem, a header binding no single known release,
and an IFC2X3 model, which requires OwnerHistory (use
nest_cost_items_with_owner_history). Nothing is staged on an error.