Skip to main content

stationing

Function stationing 

Source
pub fn stationing(
    tx: &mut Transaction,
    pset_global_id: &str,
    rel_global_id: &str,
    referent: EntityId,
    station: f64,
    incoming_station: Option<f64>,
    has_increasing_station: Option<bool>,
) -> Result<EntityId, AlignmentError>
Expand description

Stage the Pset_Stationing property set for a referent.

Stationing is carried by a property set, not by an attribute, so a referent without one is positioned but has no station. The reader looks for this exact set name and these exact property names, which is why authoring them is a named helper rather than a generic property-set call: a typo here produces a referent the stationing reader silently skips.

Returns the IfcRelDefinesByProperties that binds the set to the referent.

ยงErrors

Refuses a non-finite station and a GlobalId that is not 22 characters.