Skip to main content

add_element_quantity_with_owner_history

Function add_element_quantity_with_owner_history 

Source
pub fn add_element_quantity_with_owner_history(
    tx: &mut Transaction,
    model: &Model,
    global_id: &str,
    name: &str,
    method_of_measurement: Option<&str>,
    quantities: &[EntityId],
    owner_history: EntityId,
) -> PropertyResult<EntityId>
Expand description

add_element_quantity in the model’s declared release, with a caller-supplied IfcOwnerHistory, which IFC2X3 requires.

§Errors

Those of add_element_quantity, and the release and owner-history refusals of add_property_set_with_owner_history. Nothing is staged on an error.