I’m pulling some text from a DAT into a text TOP but I’m wanting to have the text all be upper case but the data is all lower case. How would I go about setting the expression up? I understand that I can force text uppercase with ‘test’.upper() but how would I do this when pulling the text from a DAT?
Hi - I am trying to do the same thing, which parameter in the Text Top did you put this expression into?
Ive tried it in the DAT field and also the ‘Text’ field with no luck
Thanks!
make sure the Text TOP’s text parameter is in expression mode when adding the python expression. TouchDesigner’s parameters have 4 possible modes they can be in: Constant, Expression, Export, and Bind. While numeric parameters will switch to expression mode if one is entered, string parameters (like the text parameter) will have to be set manually.