Skip to main content

stage_connection

Function stage_connection 

Source
pub fn stage_connection(
    tx: &mut Transaction,
    model: &Model,
    schema: &Schema,
    draft: ConnectionDraft,
) -> StructuralResult<EntityId>
Expand description

Stage an IfcStructuralConnection create edit on tx.

Fails with StructuralError::MissingRequired if Axis is required by the schema but unset, and with StructuralError::UnsupportedAttribute if axis is set but the target schema declares no Axis attribute for this type. Returns the id staged for the new entity.