To pass the word from a Text DAT into the .text parameter of a Text TOP in TouchDesigner, follow these steps:
-
Create a Text DAT:
- Add a Text DAT and name it (e.g.,
textDAT1).
- Enter the text you want to display inside this Text DAT.
-
Create a Text TOP:
- Add a Text TOP to your project.
-
Link the Text DAT to the Text TOP:
- Click on the Text TOP to view its parameters.
- In the parameters window, find the
text parameter.
- Right-click on the
text parameter and select “Expression”.
-
Set the Expression:
- In the expression field that appears, enter the following expression:
Replace
'textDAT1' with the name of your Text DAT if it’s different.
By following these steps, the content of the Text DAT will dynamically update the .text parameter of the Text TOP, reflecting any changes made to the Text DAT in the displayed text of the Text TOP.
Let me know if you need further assistance or have any other questions!