pub fn assign_tasks_to_control(
tx: &mut Transaction,
global_id: &str,
control: EntityId,
tasks: &[EntityId],
) -> ScheduleAuthoringResult<EntityId>Expand description
Stage an IfcRelAssignsToControl binding tasks to a work control.
This is the link tasks_of_schedule reads back: a schedule with no
assignment owns nothing, however many tasks the file contains.
§Errors
Refuses a malformed GUID, and an empty task list – an assignment relating no objects parses and assigns nothing.
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
assign_tasks_to_control_with_owner_history there, which binds the release (#202).