WoodcoreMake the numbers vibe

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.

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

ArgumentStatusWhat 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

Example 1
#plans-of("T001")
The page plans-of produces, level 2
Example 2
#for p in plans-of("S001") {
  figure(image-positions-plan(p, highlight: "S001", frame: "highlight", width: 40%), kind: image, caption: [#p])
}
The page plans-of produces, level 2

Defined in lib/calc-engine-drawings.typ:23