Run Class

From TouchDesigner Documentation
Revision as of 19:01, 21 June 2018 by Markus Heckmann (talk | contribs) (cleaning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Run class describes a single instance of a delayed script execution. They can be accessed from the runs object. Scripts can be executed with delays with the following methods:

[[DAT Class|]]()
[[Cell Class|]]()
[[td Module|]]()


activebool :

Get or set whether or not this script will execute once its target frame is reached.

groupstring :

Get or set the group label associated with this script.

isCellbool (Read Only):

Returns true when the source is a cell, from a call.

isDATbool (Read Only):

Returns true when the source is a DAT, from a call.

isStringbool (Read Only):

Returns true when the source is a string, from a td module run() call

pathOP (Read Only):

The operator location from which this script will execute.

remainingFramesint :

Get or set the remaining number of frames before the execution will occur.

remainingMillisecondsint :

Get or set the remaining number of milliseconds before the execution will occur.

source[DAT, cell, string] (Read Only):

The source of the run. It will be either a DAT, cell, or string.



Kill this run before it executes, and remove it from the global runs list, located in the td Module.

TouchDesigner Build:

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.

Any of the procedural data operators. OPs do all the work in TouchDesigner. They "cook" and output data to other OPs, which ultimately result in new images, data and audio being generated. See Node.