This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
rhino:faq:formuals-in-dimension [2026/02/04] dale [Answer:] |
rhino:faq:formuals-in-dimension [2026/02/05] (current) maryfugier [Try these:] |
||
|---|---|---|---|
| Line 18: | Line 18: | ||
| - | Try these: | + | ==== Try these: |
| ^ Operation ^ Example ^ Description ^ | ^ Operation ^ Example ^ Description ^ | ||
| |Addition |< | |Addition |< | ||
| Line 24: | Line 24: | ||
| |Multiplication|< | |Multiplication|< | ||
| |Division (Float) |< | |Division (Float) |< | ||
| - | |Division (Floor)|< | + | |Division (Floor)|< |
| - | |Division (Ceiling)|< | + | |Division (Ceiling)|< |
| |Modulus|< | |Modulus|< | ||
| |Power|< | |Power|< | ||
| |Square|< | |Square|< | ||
| |Square Root|< | |Square Root|< | ||
| + | |DimText + TextField|< | ||
| + | ==== Notes ==== | ||
| + | * The entire formula needs to be wrapped in **%< >%** to be computed as a function. Otherwise it's just text string. | ||
| + | |||
| + | * Detail scale returns a mix of numbers and text so we need to convert it to a decimal number first. " | ||
| + | * < | ||
| + | |||
| + | * If you dont care about formatting the number of places after the decimal point then you can drop the ' | ||
| + | |||
| + | * The " | ||
| + | * %< <> * float(DetailScale(" | ||