AME 394 Parameter Expressions — Note in TouchDesigner
Published in
2 min readMar 28, 2020
Key Points :
- Selector
- Parameter
—
Selector
op(‘operator_name’)
me.parent()
“op” means operator or node.
It’s similar to open the folder.
If we use folder to take an example,
Parent > Current > Children
op('null') # select the operator in current folderop('./null') # select the operator in children folderop('../null') # select the operator in parent folderme.parent() # select parent
Parameter
Get Table Value
op(‘operator_name’)[row, col] → for table
Get Width & Heigh
op(‘operator_name’).widthop(‘operator_name’).height
Get All Parameters
You can get every parameter in the target panel.
Just find out the parameters you need.
op(‘operator_name’).par.bgcolorrop(‘operator_name’).par.bgcolorgop(‘operator_name’).par.bgcolorb
You can also get width & height with parameters.
op(‘operator_name’).par.wop(‘operator_name’).par.h
—
This article is note about learning AME 394 by Matthew Ragan.
It’s the best TouchDesigner teacher I’ve seen.