mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
4d3bff4e3a
IfcQuantity* carries an optional Formula (IfcLabel) documenting how a quantity was derived. Export it alongside each quantity so it survives in the Quantities column. The per-quantity entry shape grows from [name, value] to [name, value, formula], which stays backward compatible for positional consumers reading index 0/1. Formula is read with a schema-safe getattr (it does not exist on IfcPhysicalComplexQuantity, nor in IFC2X3) and is coalesced to "" when absent. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>