Skip to main content

Switch Rows

Pass one of several tables through, chosen by index, which numbers and keyframes can drive. Columns are matched by name. A change requeries; the tables are not made again.

Syntax​

{ "id": "n1", "op": "switch-rows", "name": "switch-rows", "x": 0, "y": 0, "params": {} }

An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out"; a parameter is set in params (leave out the ones at their default), driven by an edge to par:index, or read elsewhere as ch('switch-rows/index').

Inputs​

PortTypeTakes
intableseveral, in order

Parameters​

ParameterKindDefaultChoices
indexfloat0

Outputs​

PortType
outtable

Details​