pub fn nest_tasks(
tx: &mut Transaction,
global_id: &str,
parent: EntityId,
children: &[EntityId],
) -> ScheduleAuthoringResult<EntityId>Expand description
Stage an IfcRelNests nesting child tasks under a parent.
Task breakdown structure: IfcRelNests is the ordered parent-child
link subtasks_of reads, not IfcRelAggregates, which nests physical
decomposition instead.
§Errors
Refuses a malformed GUID, an empty child list, and a parent that also appears among its own children – a self-nesting task is a cycle the timeline walk cannot terminate on.
OwnerHistory is written $, which IFC4 and IFC4X3 allow, in their
shared layout. This writer takes no model, so it cannot see the declared
release: it is for IFC4 and IFC4X3 only. IFC2X3 requires
OwnerHistory and lays the record out differently; use
nest_tasks_with_owner_history there, which binds the release (#202).