pub fn create_quantity(
tx: &mut Transaction,
model: &Model,
kind: QuantityKind,
name: &str,
value: f64,
) -> Result<EntityId, PropertyError>Expand description
Stage a brand-new simple quantity in model’s release, returning the id
reserved for it.
The entity is created with its value written bare in the slot whose
declared measure its kind implies, and no unit, meaning “the project
default applies” – which is what most authored quantities mean. Attach
it to a set with add_quantity_to_set.