Close

DAT to CHOP

Summary

The DAT to CHOP will create a set of CHOP channels with values derived from a DAT.

PythonIcon.pngdattoCHOP_Class


Parameters - DAT to Page

DAT dat - The DAT to be used to retrieve values. This DAT should be in table format. For table format, use either a Table DAT or a Convert DAT set to To Table.  

Select Rows extractrows - -

  • All all -
  • by Name byname -
  • by Index byindex -
  • by Start Name, End Index bynameindex -
  • by Start Index, End Name byindexname -
  • by Values bynames -
  • by Condition byexpr -

Start Row Name rownamestart -  

Start Row Index rowindexstart -  

End Row Name rownameend -  

End Row Index rowindexend -  

Row Select Values rownames -  

Row Select Condition rowexpr - SelectDAT rowselectexpr.png  

From Column fromcol -  

Select Cols extractcols - -

  • All all -
  • by Name byname -
  • by Index byindex -
  • by Start Name, End Index bynameindex -
  • by Start Index, End Name byindexname -
  • by Values bynames -
  • by Condition byexpr -

Start Col Name colnamestart -  

Start Col Index colindexstart -  

End Col Name colnameend -  

End Col Index colindexend -  

Col Select Values colnames -  

Col Select Condition colexpr -  

From Row fromrow -  

Output output - - Specify the form of the channels output.

  • Single Channel single - A single channel is created with one sample for every value extracted.
  • Channel per Row chanperrow - A separate channel is created for every row extracted.
  • Channel per Column chanpercol - A separate channel is created for every column extracted.
  • Channel per Value chanpervalue - A separate channel is created for every value extracted.

First Row is firstrow - - Specifies whether the first row is ignored, names, or values.

  • Ignored ignored -
  • Names names -
  • Values values -

First Column is firstcolumn - - Specifies whether the first columnn is ignored, names, or values.

  • Ignored ignored -
  • Names names -
  • Values values -


Parameters - Common Page

Time Slice timeslice - Turning this on forces the channels to be "Time Sliced". A Time Slice is the time between the last cook frame and the current cook frame.  

Scope scope - To determine which channels get affected, some CHOPs use a Scope string on the Common page.  

Sample Rate Match srselect - - Handle cases where multiple input CHOPs' sample rates are different. When Resampling occurs, the curves are interpolated according to the Interpolation Method Option, or "Linear" if the Interpolate Options are not available.

  • Resample At First Input's Rate first - Use rate of first input to resample others.
  • Resample At Maximum Rate max - Resample to the highest sample rate.
  • Resample At Minimum Rate min - Resample to the lowest sample rate.
  • Error If Rates Differ err - Doesn't accept conflicting sample rates.

Export Method exportmethod - - This will determine how to connect the CHOP channel to the parameter. Refer to the Export article for more information.

  • DAT Table by Index datindex - Uses the docked DAT table and references the channel via the index of the channel in the CHOP.
  • DAT Table by Name datname - Uses the docked DAT table and references the channel via the name of the channel in the CHOP.
  • Channel Name is Path:Parameter autoname - The channel is the full destination of where to export to, such has geo1/transform1:tx.

Export Root autoexportroot - This path points to the root node where all of the paths that exporting by Channel Name is Path:Parameter are relative to.  

Export Table exporttable - The DAT used to hold the export information when using the DAT Table Export Methods (See above).  

TouchDesigner Build: