Difference between revisions of "Sort DAT"

From TouchDesigner Documentation
Jump to: navigation, search
(Sort DAT Auto Create)
(TD Editor)
Line 1: Line 1:
 
+
{{Summary
{{Summary|OPfamily=DAT|OPtype=sort|OPlabel=Sort|OPlicense=Non-Commercial|OPclass=sortDAT_Class|OPfilter=True
+
|OPfamily=DAT
 
+
|OPlabel=Sort
|short=
+
|OPfilter=True
 
+
|long=The Sort DAT will sort table DAT data by row or column.
|long=
+
|OPclass=sortDAT_Class
 
+
|OPtype=sort
}}
+
|short=The Sort DAT will sort table DAT data by row or column.
+
|OPlicense=Non-Commercial
{{ParameterPage|Pagename=Sort|OPfamily=DAT
+
}}
 
+
{{ParameterPage
|Pagesummary=
+
|items=
 
+
{{ParMenu
|items=
+
|Parlabel=Sort
 
+
|OPfamily=DAT
+
|Parname=sortmethod
{{ParMenu|OPfamily=DAT|OPtype=sort|Parname=sortmethod|Parlabel=Sort|Parorder=0
+
|Paritems=
 
+
{{Menuitem
|Parsummary=
+
|Itemlabel=Rows (Specify Column Name)
 
+
|OPfamily=DAT
|Paritems=
+
|Parname=sortmethod
 
+
|Itemname=colname
 +
|Itemsummary=
 +
}}
 +
{{Menuitem
 +
|Itemlabel=Rows (Specify Column Index)
 +
|OPfamily=DAT
 +
|Parname=sortmethod
 +
|Itemname=colindex
 +
|Itemsummary=
 +
}}
 +
{{Menuitem
 +
|Itemlabel=Rows (Preserve Input Order)
 +
|OPfamily=DAT
 +
|Parname=sortmethod
 +
|Itemname=colpreserve
 +
|Itemsummary=
 +
}}
 +
{{Menuitem
 +
|Itemlabel=Columns (Specify Row Name)
 +
|OPfamily=DAT
 +
|Parname=sortmethod
 +
|Itemname=rowname
 +
|Itemsummary=
 +
}}
 +
{{Menuitem
 +
|Itemlabel=Columns (Specify Row Index)
 +
|OPfamily=DAT
 +
|Parname=sortmethod
 +
|Itemname=rowindex
 +
|Itemsummary=
 +
}}
 +
{{Menuitem
 +
|Itemlabel=Columns (Preserve Input Order)
 +
|OPfamily=DAT
 +
|Parname=sortmethod
 +
|Itemname=rowpreserve
 +
|Itemsummary=
 +
}}
 
 
{{Menuitem|Itemlabel=Rows (Specify Column Name)|Itemname=colname|OPfamily=DAT|Parname=sortmethod
+
|Parsummary=
 
+
|OPtype=sort
|Itemsummary=
+
|Parorder=0
 
+
}}
}}
+
{{ParString
{{Menuitem|Itemlabel=Rows (Specify Column Index)|Itemname=colindex|OPfamily=DAT|Parname=sortmethod
+
|Parlabel=Name
 
+
|OPfamily=DAT
|Itemsummary=
+
|Parname=name
 
+
|Parsummary=
}}
+
|OPtype=sort
{{Menuitem|Itemlabel=Rows (Preserve Input Order)|Itemname=colpreserve|OPfamily=DAT|Parname=sortmethod
+
|Parorder=1
 
+
}}
|Itemsummary=
+
{{ParInteger
 
+
|Parlabel=Index
}}
+
|OPfamily=DAT
{{Menuitem|Itemlabel=Columns (Specify Row Name)|Itemname=rowname|OPfamily=DAT|Parname=sortmethod
+
|Parname=index
 
+
|Parsummary=
|Itemsummary=
+
|OPtype=sort
 
+
|Parorder=2
}}
+
}}
{{Menuitem|Itemlabel=Columns (Specify Row Index)|Itemname=rowindex|OPfamily=DAT|Parname=sortmethod
+
{{ParMenu
 
+
|Parlabel=Order
|Itemsummary=
+
|OPfamily=DAT
 
+
|Parname=order
}}
+
|Paritems=
{{Menuitem|Itemlabel=Columns (Preserve Input Order)|Itemname=rowpreserve|OPfamily=DAT|Parname=sortmethod
+
{{Menuitem
 
+
|Itemlabel=Alphabetical
|Itemsummary=
+
|OPfamily=DAT
 
+
|Parname=order
}}
+
|Itemname=alpha
 
+
|Itemsummary=
}}
+
}}
{{ParString|OPfamily=DAT|OPtype=sort|Parname=name|Parlabel=Name|Parorder=1
+
{{Menuitem
 
+
|Itemlabel=Alphabetical with Numbers
|Parsummary=
+
|OPfamily=DAT
 
+
|Parname=order
}}
+
|Itemname=alphanum
{{ParInteger|OPfamily=DAT|OPtype=sort|Parname=index|Parlabel=Index|Parorder=2
+
|Itemsummary=
 
+
}}
|Parsummary=
+
{{Menuitem
 
+
|Itemlabel=Numbers
}}
+
|OPfamily=DAT
{{ParMenu|OPfamily=DAT|OPtype=sort|Parname=order|Parlabel=Order|Parorder=3
+
|Parname=order
 
+
|Itemname=nums
|Parsummary=
+
|Itemsummary=
 
+
}}
|Paritems=
+
{{Menuitem
 
+
|Itemlabel=Random
 +
|OPfamily=DAT
 +
|Parname=order
 +
|Itemname=random
 +
|Itemsummary=
 +
}}
 
 
{{Menuitem|Itemlabel=Alphabetical|Itemname=alpha|OPfamily=DAT|Parname=order
+
|Parsummary=
 
+
|OPtype=sort
|Itemsummary=
+
|Parorder=3
 
+
}}
}}
+
{{ParFloat
{{Menuitem|Itemlabel=Alphabetical with Numbers|Itemname=alphanum|OPfamily=DAT|Parname=order
+
|Parlabel=Seed
 
+
|OPfamily=DAT
|Itemsummary=
+
|Parname=seed
 
+
|Parsummary=
}}
+
|OPtype=sort
{{Menuitem|Itemlabel=Numbers|Itemname=nums|OPfamily=DAT|Parname=order
+
|Parorder=4
 
+
}}
|Itemsummary=
+
{{ParToggle
 
+
|Parlabel=Ignore Case
}}
+
|OPfamily=DAT
{{Menuitem|Itemlabel=Random|Itemname=random|OPfamily=DAT|Parname=order
+
|Parname=ignorecase
 
+
|Parsummary=
|Itemsummary=
+
|OPtype=sort
 
+
|Parorder=5
}}
+
}}
 
+
{{ParToggle
}}
+
|Parlabel=Preserve First
{{ParFloat|OPfamily=DAT|OPtype=sort|Parname=seed|Parlabel=Seed|Parorder=4
+
|OPfamily=DAT
 
+
|Parname=preservefirst
|Parsummary=
+
|Parsummary=
 
+
|OPtype=sort
}}
+
|Parorder=6
{{ParToggle|OPfamily=DAT|OPtype=sort|Parname=ignorecase|Parlabel=Ignore Case|Parorder=5
+
}}
 
+
{{ParMenu
|Parsummary=
+
|Parlabel=Unique Output
 
+
|OPfamily=DAT
}}
+
|Parname=unique
{{ParToggle|OPfamily=DAT|OPtype=sort|Parname=preservefirst|Parlabel=Preserve First|Parorder=6
+
|Paritems=
 
+
{{Menuitem
|Parsummary=
+
|Itemlabel=Off
 
+
|OPfamily=DAT
}}
+
|Parname=unique
{{ParMenu|OPfamily=DAT|OPtype=sort|Parname=unique|Parlabel=Unique Output|Parorder=7
+
|Itemname=off
 
+
|Itemsummary=
|Parsummary=
+
}}
 
+
{{Menuitem
|Paritems=
+
|Itemlabel=Single Row/Col
 
+
|OPfamily=DAT
 +
|Parname=unique
 +
|Itemname=single
 +
|Itemsummary=
 +
}}
 +
{{Menuitem
 +
|Itemlabel=Entire Rows/Cols
 +
|OPfamily=DAT
 +
|Parname=unique
 +
|Itemname=entire
 +
|Itemsummary=
 +
}}
 
 
{{Menuitem|Itemlabel=Off|Itemname=off|OPfamily=DAT|Parname=unique
+
|Parsummary=
 
+
|OPtype=sort
|Itemsummary=
+
|Parorder=7
 
+
}}
}}
+
{{ParToggle
{{Menuitem|Itemlabel=Single Row/Col|Itemname=single|OPfamily=DAT|Parname=unique
+
|Parlabel=Reverse Output
 
+
|OPfamily=DAT
|Itemsummary=
+
|Parname=reverse
 
+
|Parsummary=
}}
+
|OPtype=sort
{{Menuitem|Itemlabel=Entire Rows/Cols|Itemname=entire|OPfamily=DAT|Parname=unique
+
|Parorder=8
 
+
}}
|Itemsummary=
+
 
+
|OPfamily=DAT
}}
+
|Pagesummary=
 
+
|Pagename=Sort
}}
+
}}
{{ParToggle|OPfamily=DAT|OPtype=sort|Parname=reverse|Parlabel=Reverse Output|Parorder=8
+
{{:DAT Filter Common Page
 
+
}}
|Parsummary=
+
{{History
 
+
}}
}}
+
{{DATNavBox
 
+
|OPfamily=DAT
}}
+
}}
+
{{#invoke:Category
{{:DAT Filter Common Page}}
+
|list|DATs}}
{{History}}
 
{{DATNavBox|OPfamily=DAT}}
 
{{#invoke:Category|list|DATs}}
 

Revision as of 10:14, 5 September 2017

  • Invalid title: ""

Summary
[edit]

The Sort DAT will sort table DAT data by row or column.

PythonIcon.png[[{{{opClass}}}]]


Parameters - Page

Template:ParMenu Template:ParString Template:ParInteger Template:ParMenu Template:ParFloat Template:ParToggle Template:ParToggle Template:ParMenu Template:ParToggle


Parameters - Common Page

Language language - - Select how the DAT decides which script language to operate on.

  • Input input - The DAT uses the inputs script language.
  • Node node - The DAT uses it's own script language.

Edit/View Extension extension - - Select the file extension this DAT should expose to external editors.

  • dat dat - various common file extensions.
  • frag frag -
  • glsl glsl -
  • html html -
  • md md -
  • py py -
  • rtf rtf -
  • tsv tsv -
  • txt txt -
  • vert vert -
  • xml xml -
  • From Language languageext - pick extension from DATs script language.
  • Custom Extension customext - Specify a custom extension.

Custom Extension customext - Specifiy the custom extension.  

Word Wrap wordwrap - - Enable Word Wrap for Node Display.

  • Input input - The DAT uses the inputs setting.
  • On on - Turn on Word Wrap.
  • Off off - Turn off Word Wrap.

TouchDesigner Build:

DATs
Art-Net • CHOP Execute • CHOP to • Clip • Convert • CPlusPlus • DAT •  Execute • DAT xport • Error • EtherDream • Evaluate • Examine • Execute • FIFO • File In • File Out • Folder • In • Indices • Info • Insert • Experimental:JSON • Keyboard In • Lookup • Merge • MIDI Event • MIDI In • Monitors • MQTT Client • Multi Touch In • NDI • Null • OP Execute • OP Find • OSC In • OSC Out • Out • Panel Execute • Parameter • Parameter Execute • Perform • Render Pick • Reorder • Script • Select • Serial • SocketIO • SOP to • Sort • Substitute • Switch • Table • TCP/IP • Text • Touch In • Touch Out • Transpose • TUIO In • UDP In • UDP Out • UDT In • UDT Out • Web Client • Web • Web Server • Experimental:Web Server • WebSocket • XML

An Operator Family that manipulates text strings: multi-line text or tables. Multi-line text is often a command Script, but can be any multi-line text. Tables are rows and columns of cells, each containing a text string.

The generic thing that holds an Operator, and includes Flags (display, bypass, lock, render, immune) and its position/size in the network. Whether you "lay down an Operator" or "lay down an Node", you're doing the same thing.