The Lookup DAT outputs values from a lookup Table. The first input is an index into the second input.
The Lookup DAT allows you to select rows from its second input by referencing data either via row/column indices or row/column names. The advantage of the Lookup DAT is such that the order the data is selected is independent from the order in the Lookup Table, rather the Index Table dictates the order therefor allowing for reordering of data and selecting rows/columns multiple times.
Parameters - Lookup Page
index - ⊞ - Select how the index values are interpreted: as values/indices contained in a column or contained in a row.
- Row Indices
rowindices- Rows selected in the Lookup DAT are represented as numerical indices in the Index input.
- Col Indices
colindices- Columns selected in the Lookup DAT are represented as numerical indices in the Index input.
- Row Values
rowvalues- Rows selected in the Lookup DAT are represented as values in the Index input. By default the first column is used to match the index but this can changed by setting the Value Location as well as Name or Index Parameter.
- Col Values
colvalues- Columns selected in the Lookup DAT are represented as values in the Index input. By default the first row is used to match the index but this can changed by setting the Value Location as well as Name or Index Parameter.
valueloction - ⊞ - When 'Row Values' or 'Col Values' is selected in the Index Parameter, this parameter lets you select how the lookup row or column where the index value searches will be specified.
name- The lookup row or column is specified by name.
index- The lookup row or column is specified by index.
valuename - Specify the name of the lookup row or column.
valueindex - Specify the index of the lookup row or column.
includeheader - Include the first row or column.
Parameters - Common Page
language - ⊞ - Select how the DAT decides which script language to operate on.
input- The DAT uses the inputs script language.
node- The DAT uses it's own script language.
extension - ⊞ - Select the file extension this DAT should expose to external editors.
dat- various common file extensions.
- From Language
languageext- pick extension from DATs script language.
- Custom Extension
customext- Specify a custom extension.
customext - Specifiy the custom extension.
wordwrap - ⊞ - Enable Word Wrap for Node Display.
input- The DAT uses the inputs setting.
on- Turn on Word Wrap.
off- Turn off Word Wrap.
- Input 0 -
|• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •|
Parameters in TouchDesigner are an operator's settings (numbers, menus, flags, strings, paths) which the user can alter. Parameters for any operator can be opened by right-clicking on the operator and selecting "Parameters..." A currently selected operator's parameters can be viewed in a Network Editor by pressing the keyboard shortcut 'p'.