ParCollection Class

From TouchDesigner Documentation
Jump to: navigation, search

The ParCollection class can be used to access parameters. To access a parameter you need to use its internal name, which you can obtain by hovering your mouse over the parameter name, and looking at the popup that will come up. See also Par Class.


This object contains a member for each parameter in the component. You can both read the value using:

a = op('geo1').par.tx

You can also change the value using

a = op('geo1').par.tx = 4
a = op('geo1').par.lookat = 'null1'

ownerOP (Read Only):

The OP to which this object belongs.



Parameters may be easily accessed using the [] subscript and assignment operators.

  • name - Must be an exact string name. Wildcards are not supported. If not found None is returned.
p = op('base1').par['Myfloat5']

TouchDesigner Build:

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.