pub fn assign_to_actor(
tx: &mut Transaction,
model: &Model,
global_id: &str,
actor: EntityId,
objects: &[EntityId],
) -> SpatialAuthoringResult<EntityId>Expand description
Stage an IfcRelAssignsToActor: objects assigned to an actor.
Bound to the model’s declared release (#213): the record is laid out by
attribute name from that release’s table, with all eight attributes
(ActingRole unset). OwnerHistory is left $, which IFC4 and IFC4X3
allow and IFC2X3 does not; in IFC2X3 use
assign_to_actor_with_owner_history.
§Errors
Refuses a malformed GlobalId, an empty object set, and the actor
listed among the objects assigned to it. A header binding no single
verified release (MultipleSchemas, UnsupportedSchema) and an IFC2X3
model (AuthoringRequired) are refused. Nothing is staged on an error.