WoodcoreMake the numbers vibe

Commands › Printing a drawing or an object

#position Printing a drawing or an object

Prints one position on a line: its id in its box, as the plan draws it, then the fields chosen.

#position(,
  : ,
  : , : 
)

Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.

The essentials

Read from the exportIts fields come from data/positions/; an unknown position stops the report.
RenumberedA position kept under an old number says so in orange.
The fields, in their ordercategory-show: picks the fields and their order.

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
required
The position's id, as the plan draws it.
#position("T001")the purlin T001
"S110-old"a renumbered position, said in orange
What is printed
optional
The fields printed, in their order.
category-show: ("type", "dimension")the type and the section
category-show: "length"a single field
Label and description
optional
A name of the call's own, printed after the id.
label: "Pfette"a short name
label: [Pfette *Achse B*]content
optional
A sentence of the call's own, printed after the fields.
descr: "über Achse B"where it is
descr: "verstärkt 2026"what sets it apart

Lines to copy

Minimal call

#position("S001")

Complete call

#position("S001", label: none, descr: none, category-show: ("type", "material", "strength-class"))

Examples

Example 1
#position("T001")
The page position produces, level 2
Example 2
#position("T001", label: "Pfette", category-show: ("type", "material", "strength-class", "dimension", "units", "length"))
The page position produces, level 2

Defined in lib/positions.typ:153