Numbers, units and formulas
Typing numbers, arithmetic, units and formulas in number fields, Persian digits, committing values and errors, and editable numbers on the model.
Typing numbers, arithmetic, units and formulas in number fields, Persian digits, committing values and errors, and editable numbers on the model.
Wherever Atrium asks for a number, whether in the design tree and cards, in a number box, or mid-drawing, you can type more than a plain number: arithmetic, units and, in many places, formulas. All number fields behave the same way.
| Entry | Example |
|---|---|
| Number | 1200 |
| Simple arithmetic | 1200-750 |
| Number with a unit | 12 cm, 1m+20cm, ۱۲ سانت (Persian for "12 cm") |
| Formula (wherever formulas are accepted) | Start with = |
You can add a unit to any number. Internally, Atrium stores everything in millimeters, so the display unit has no effect on the result, for example when you copy and paste between editors.
Write decimals with a dot: 12.5. A comma is never a decimal point; it only separates two values where a box takes two (for example 100,50 on the gizmo's square). Typing 12,5 in a single number box is refused with a short message.
You can also type Persian digits: ۱۲۰۰-۷۵۰ works just like 1200-750.
٫ is the decimal separator; for example, ۱۲٫۵ is 12.5.، (the Persian comma) separates coordinates; for example, ۱۰۰،۵۰ is 100,50.Clicking a gizmo arrow or ring, a handle, or a distance to an edge opens a number box.
The sign rule for numbers on the gizmo (for example, -30) is on the Gizmo page.
If what you typed isn't valid, the field gets a red frame and a short sentence explains the problem. The previous value stays in place.
Some numbers appear directly on the model:
| Appearance | Meaning | Example |
|---|---|---|
| Purple frame; the pointer turns into a hand over it | Editable: click it and type a new value. | Distance from a hole to an edge; rectangle width and length |
| No frame | Display only | The live value while you draw |
Rectangle width and length, distance to an edge, side moves and spline handles accept plain numbers only for now. If you need a formula, enter it in the design tree.