Super Select Operator
Overview
Section titled “Overview”The Super Select
operator is a powerful alternative to TouchDesigner’s built-in Select DAT
. It provides more intuitive and flexible ways to select rows, columns, or individual cells from an input table DAT.
Key features include:
- Dynamic Menus: Parameters like
Column For Selection
andSelect Row
automatically populate dropdown menus based on the input table’s headers and content, making it easy to select based on meaningful data rather than just indices. - Multiple Selection Modes: Choose to select rows, columns, or both using various methods: selecting all, using index patterns (
0,2-5
), matching text patterns (*value*
), or selecting a single row/column based on a value in a specific header. - Easy Navigation: Buttons for
Next Row
,Previous Row
, andRandom Row
(and their column equivalents) allow quick stepping through selections, especially useful inSingle By Column
/Single By Row
modes. - Search Filtering: An optional search layer allows you to filter the selected data further using exact or fuzzy matching.
Parameters
Section titled “Parameters”Settings Page
Section titled “Settings Page” Keep First Row (Keepfirstrow)
op('super_select').par.Keepfirstrow
Toggle - Default:
On
Keep First Column (Keepfirstcol)
op('super_select').par.Keepfirstcol
Toggle - Default:
Off
Auto Detect Headers (Detectheaders)
op('super_select').par.Detectheaders
Toggle - Default:
On
Row Selection Page
Section titled “Row Selection Page” Row Indices (Rowindex)
op('super_select').par.Rowindex
Str - Default:
*
Row Pattern (Rowpattern)
op('super_select').par.Rowpattern
Str - Default:
*
Use Header Values for Menus (Rowmenulabels)
op('super_select').par.Rowmenulabels
Toggle - Default:
On
Next Row → (Rownext)
op('super_select').par.Rownext
Pulse - Default:
None
← Previous Row (Rowprevious)
op('super_select').par.Rowprevious
Pulse - Default:
None
Random Row ⟳ (Rowrandom)
op('super_select').par.Rowrandom
Pulse - Default:
None
Column Selection Page
Section titled “Column Selection Page” Column Indices (Colindex)
op('super_select').par.Colindex
Str - Default:
*
Column Pattern (Colpattern)
op('super_select').par.Colpattern
Str - Default:
*
Use Header Values for Menus (Colmenulabels)
op('super_select').par.Colmenulabels
Toggle - Default:
On
Next Column → (Colnext)
op('super_select').par.Colnext
Pulse - Default:
None
← Previous Column (Colprevious)
op('super_select').par.Colprevious
Pulse - Default:
None
Random Column ⟳ (Colrandom)
op('super_select').par.Colrandom
Pulse - Default:
None
Search Page
Section titled “Search Page” Enable Search Filter (Usesearch)
op('super_select').par.Usesearch
Toggle - Default:
Off
Search Term (Searchterm)
op('super_select').par.Searchterm
Str - Default:
None
Fuzzy Threshold (Fuzzythreshold)
op('super_select').par.Fuzzythreshold
Float - Default:
0.5
- Slider Range:
- 0.1 to 1
IO Page
Section titled “IO Page” Input DAT (Inputdat)
op('super_select').par.Inputdat
DAT - Default:
None
Output DAT (Outputdat)
op('super_select').par.Outputdat
DAT - Default:
None
About Page
Section titled “About Page” Bypass (Bypass)
op('super_select').par.Bypass
Toggle - Default:
Off
Show Built-in Parameters (Showbuiltin)
op('super_select').par.Showbuiltin
Toggle - Default:
Off
Version (Version)
op('super_select').par.Version
Str - Default:
1.0.0
Last Updated (Lastupdated)
op('super_select').par.Lastupdated
Str - Default:
2025-03-11
Creator (Creator)
op('super_select').par.Creator
Str - Default:
dotsimulate
Website (Website)
op('super_select').par.Website
Str - Default:
https://dotsimulate.com
ChatTD Operator (Chattd)
op('super_select').par.Chattd
OP - Default:
/dot_lops/ChatTD
Usage Examples
Section titled “Usage Examples”Selecting a Single Cell
Section titled “Selecting a Single Cell”- Connect your source table to the
Input DAT
. - Set
Settings -> Selection Mode
toBoth
. - Go to
Row Selection
page. - Set
Row Selection Mode
toSingle By Column
. - Select the desired column header from
Column For Selection
menu. - Select the desired row value from the
Select Row
menu. - Go to
Column Selection
page. - Set
Column Selection Mode
toSingle By Row
. - Select the desired row header (first column value) from
Row For Selection
menu. - Select the desired column value from the
Select Column
menu. - The
Output DAT
will contain a 1x1 table with the selected cell.
Selecting Rows Matching a Header Value
Section titled “Selecting Rows Matching a Header Value”- Connect your source table.
- Ensure
Settings -> Selection Mode
isRow Selection
orBoth
. - Go to
Row Selection
page. - Set
Row Selection Mode
toSingle By Column
. - Choose the column header you want to match against in
Column For Selection
. - Choose the specific value you want to select rows for in the
Select Row
menu. - The
Output DAT
will contain all rows where the selected column matches the selected value.
Filtering Selection with Search
Section titled “Filtering Selection with Search”- Set up your initial row and/or column selection as desired.
- Go to the
Search
page. - Turn
Enable Search Filter
On
. - Enter your search query into
Search Term
. - Choose
Search Mode
(Exact or Fuzzy). - Choose
Search Scope
(All, Headers, Data). - Choose
Search Returns
(Rows, Columns, Both). - The
Output DAT
will show the data that meets both the initial selection criteria and the search filter criteria.
Related Operators
Section titled “Related Operators”Select DAT
(Built-in TouchDesigner operator)Merge DAT
Sort DAT