vTextDoString
Return a Text object from running a string of Lua code The node automatically creates new text input connections as needed. The text based input data can be accessed in the script using a Lua table variable named "tbl". The text based output connection on the node receives the data that is defined by the "return" command. The "Script Header Wire" input is used to specify a text datatype connection of code that is appended to the top of the Lua Script field contents when run. The script content connected to the Script Header Wire field is typically sourced from a vTextCreateMultiline or vTextFromFile node. In your Lua Script code you can iterate through each record in the Lua table data using: for i, v in ipairs(tbl) do end If you need to temporarily troubleshoot the internals of what your code is doing in the vTextDoString node there are two diagnostic checkbox controls labelled "Show Code" and "Show Dump". The output from those options is displayed in the Console window. For performance reasons you probably want to leave those options turned off most of the time when rendering long sequences in Fusion to reduce the Console logging overhead.

Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| Which | Integer | — | — |
| Text1 | Text | — | — |
| Script Header Wire | Text | — | — |
| > | Float | — | — |
| Script | Text | — | — |