I’d like to add some string values in the Spreadsheet view via programmable filter.
I tried the following:
input = inputs
stringTest = “test”
Unfortunately, this doesnt work and the Spreadsheet View stays the same.
Is it possible to add strings in general?
Thank you in advance.
You need to create and add a StringArray.
Do I have to create a vtkStringArray then? I tried it out with string = , then added the string values, but this didn’t work either.
Here is a working example for FieldData.
arr = vtk.vtkStringArray()