Hi,
after searching this discourse as well as the VTK documentation I could not find the information I was looking for.
When declaring a StringVectorProperty there are a number of attributes where I cannot figure out what exactly they are specifying.
What I need is a property that will list all the point data arrays from the input data set and use the selected entry to call a method taking a string as single argument.
From the code I read, my best guess is that “number_of_elements” specifies the number of arguments that the target method is taking and then “element_types” lists the argument types used to call the method. Is that correct? If so, which data types are represented by which values, i.e. what is element type 2? String, int, char?
What I have now is this
<StringVectorProperty command="SetLineField"
element_types="2"
name="Line field"
number_of_elements="1">
Using this, ParaView throws an error saying that I am not calling the method correctly.