Commands › Reading the project's data
#find Reading the project's data
Lists what a call can name: the domains and their keys, or the variables of one of them.
#find(
: , : ,
:
)Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
objectoptional · default "domain"What is listed: the domains and their keys, or a table of variables.
objectoptional · default "domain""domain"the domains and their keys, a line each"variable"a table of the variables of one domainHover a value: its call and what it prints.
#find(object: "domain", domain: "snow-load")
What it prints
#find(object: "variable", domain: ("snow-load", "SL"), type: "name")What it prints
Compiled once by Woodcore's engine, on the examples' frozen data.
domainoptional · default noneThe domain to list: a calculation and its case, or a domain of the report.
domainoptional · default nonenoneFree text, for example:
domain: ("connector", "SD-10")typeoptional · default "val+unit"What the value column holds.
typeoptional · default "val+unit""name"no value column: names, symbols, labels"val"the number"unit"the unit"val+unit"the number and its unit"expression"the formula the value comes fromHover a value: its call and what it prints.
#find(object: "variable", domain: ("snow-load", "SL"), type: "name")What it prints
#find(object: "variable", domain: ("snow-load", "SL"), type: "val")What it prints
#find(object: "variable", domain: ("snow-load", "SL"), type: "unit")What it prints
#find(object: "variable", domain: ("snow-load", "SL"), type: "val+unit")What it prints
#find(object: "variable", domain: ("snow-load", "SL"), type: "expression")What it prints
Compiled once by Woodcore's engine, on the examples' frozen data.
The essentials
For writingCall it, read, delete the call: it is not for the finished page.
A calculation's variablesThe only thing that says what a fastener or a polar moment carries.
What the report has notedWithout
domain:, what a formula on this line can cite.Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| optional | What is listed: the domains and their keys, or a table of variables. #find(object: "domain")every domain on its lineobject: "variable"the variables of one domain | |
| optional | The domain to list: a calculation and its case, or a domain of the report. domain: ("connector", "SD-10")a fastener of the exportdomain: "snow-load"with object: "domain", this domain alone | |
| What is printed | ||
| optional | What the value column holds. type: "name"the names alone, no valuestype: "expression"each value's formula | |
Lines to copy
Minimal call
#find()Complete call
#find(object: "domain", domain: none, type: "val+unit")Examples
#find(object: "domain")#find(object: "variable", domain: ("snow-load", "SL"), type: "name")#var("R_k", 7, "kN")
#var("k_dens", 0.806, label: "Beiwert")
#find(object: "variable")Defined in lib/formula.typ:2139