Scriban table
Example of creating a table in the assist error message
(
| thickness| function|
|---|---|
[[~ for $i in {{[functionAndThickness]}} ~]]
|[[ $i .thickness]] | [[ $i.function ]]|
[[~ end ~]]
)
This table expect this kind of data structure:
(
{
"id": 31710,
"type": "FamilySymbol",
"name": "NLRS_Wall 2",
"layersWithoutMaterial": 3,
"functionAndThickness": [
{
"function": "Finish1",
"thickness": 100
},
{
"function": "Insulation",
"thickness": 100
},
{
"function": "Structure",
"thickness": 200
},
{
"function": "Finish2",
"thickness": 10
}
]
}
)