Skip to main content

nest_ports

Function nest_ports 

Source
pub fn nest_ports(
    tx: &mut Transaction,
    global_id: &str,
    parent: EntityId,
    children: &[EntityId],
) -> SystemAuthoringResult<EntityId>
Expand description

Stage an IfcRelNests: ports nested under the element owning them.

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

ยงErrors

Refuses a malformed GlobalId, an empty child list, and a parent nested under itself.