Skip to main content

create_group

Function create_group 

Source
pub fn create_group(
    tx: &mut Transaction,
    global_id: &str,
    name: Option<&str>,
    description: Option<&str>,
) -> SystemAuthoringResult<EntityId>
Expand description

Stage an IfcGroup: an arbitrary named collection.

A group is the supertype a system specialises. Where an IfcSystem claims its members function together, a plain group claims only that someone gathered them, so this writer is what to reach for when no stronger statement is true.

Writes OwnerHistory $, so the record is IFC4/IFC4X3 only; use create_group_with_owner_history for IFC2X3.

ยงErrors

Refuses a malformed GlobalId.