Skip to main content

position_products

Function position_products 

Source
pub fn position_products(
    tx: &mut Transaction,
    global_id: &str,
    positioning: EntityId,
    products: &[EntityId],
) -> SpatialAuthoringResult<EntityId>
Expand description

Stage an IfcRelPositions: products placed by a positioning element.

IFC4 and IFC4X3 only: it writes their layout and leaves OwnerHistory $, which IFC2X3 requires. In IFC2X3 use position_products_with_owner_history, which binds the model’s declared release.

§Errors

Refuses a malformed GlobalId, an empty product set, and the positioning element listed among its own products, which the schema’s NoSelfReference rule forbids.