Skip to main content

add_conversion_based_unit

Function add_conversion_based_unit 

Source
pub fn add_conversion_based_unit(
    tx: &mut Transaction,
    draft: ConversionBasedUnitDraft<'_>,
) -> PropertyResult<EntityId>
Expand description

Stage an IfcConversionBasedUnit.

The conversion factor and dimensions are references the caller must have created; their types are checked by ifc-validate, not here, because this crate has no schema handle.