pub fn attach_template(
tx: &mut Transaction,
global_id: &str,
property_sets: &[EntityId],
template: EntityId,
) -> PropertyResult<EntityId>Expand description
Stage an IfcRelDefinesByTemplate.
Binds authored property sets to the template they follow, which is how a checker knows an instance was meant to conform.
Takes no model, so it cannot refuse an IFC2X3 model, which declares no
templates. Use attach_template_with_owner_history to write against
the model’s declared release.
§Errors
Refuses a malformed GUID and an empty property-set list
(SET [1:?]).