Commands › Reading the project's data
#plans-of Reading the project's data
Gives the plans a position is drawn on, in the order of their files.
#plans-of()Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
positionrequiredThe position's id.
The essentials
Data, not a displayIt returns a value: print it, compare it or loop over it.
A figure per planA loop shows the position on each of its plans, highlighted.
No planA position no plan draws gives an empty list.
Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| required | The position's id. #repr(plans-of("T001"))the plans of the purlin T001"S001"a column | |
Lines to copy
Minimal call
#plans-of("S001")Examples
#plans-of("T001")#for p in plans-of("S001") {
figure(image-positions-plan(p, highlight: "S001", frame: "highlight", width: 40%), kind: image, caption: [#p])
}Defined in lib/calc-engine-drawings.typ:23