Every operator has a set of parameters that control what it does. They live in the Parameter Dialog, a floating panel you toggle with the p key. Parameters can be numbers, toggles, menus, strings, paths, pulses, even Python objects.

Opening and Navigating the Dialog

ActionHow
Toggle parameter dialogPress p while hovering a Network Editor pane
Open as floating windowRMB on the operator → Parameters…
Switch parameter pagesClick the page tabs along the top of the dialog
Open right-click menu on a parameterRMB the parameter row

The dialog always shows one operator at a time. Selecting a different node updates it live.

The Four Parameter Modes

This is the most important concept on this page. Every parameter sits in one of four modes, indicated by a colored mode button on the left of the parameter row. All four mode values persist simultaneously, so you can flip between modes without losing data.

ModeColorWhat it does
ConstantGreyA literal value you type in. The default.
ExpressionBlueA Python expression evaluated each cook. Example: absTime.frame * 0.5
ExportGreenA CHOP channel or DAT cell pushed into the parameter, overriding it
BindPurpleA bi-directional link to another parameter, table cell, or Bind CHOP

Click the colored button to switch modes. Right-click it to access mode-specific options (set expression, remove export, reset, etc.).

Constant for setup, Export for performance, Bind for UI. If you have many channels driving many parameters, Export is faster than Expression because it skips per-cook Python eval.

Parameter Types

TypeExample useNotes
FloatTranslate XSingle floating-point value
IntResolution WidthInteger
ToggleActive, CookingOn/off
MenuOperator Type, FilterDropdown of named options
PulseReset, ReloadA button that fires once when clicked
StringFile Path, LabelText
OP pathCamera, Render GeometryPath to another operator
RGB / RGBAMaterial color3- or 4-component color
XYZ / XY / UVTranslate, TileMulti-value (size up to 4)
PythonCustom data slotHolds a Python object

Multi-value parameters (RGB, XYZ, etc.) sit on a single row but expose each component for individual mode selection. You can have R as a Constant, G as an Expression, and B as an Export, all at once.

Reading and Writing from Python

n = op('transform1')
 
# Read the current evaluated value
n.par.tx.eval()         # 0.5
n.par.tx                # the Par object itself
 
# Write a constant value
n.par.tx = 1.0
 
# Set an expression (auto-switches to Expression mode)
n.par.ty.expr = 'absTime.frame * 0.1'
 
# Inspect the current mode
n.par.tx.mode           # ParMode.CONSTANT, .EXPRESSION, .EXPORT, or .BIND
 
# Pulse a Pulse parameter from script
n.par.Reset.pulse()

Right-Click Options Worth Knowing

RMB any parameter row to get common operations: reset to default, copy/paste value, switch mode, edit expression in a larger window, find what’s exporting/binding to it.

What’s Next



(y) Return to Core Concepts | (y) Return to TouchDesigner | (y) Return to Home