I’m in ParaView 5.7.0-RC1.
I’m using Tools → Start Trace to obtain a starting point for a batch script.
Next I load a state in the GUI and select the option “Choose File Names”.
This produces the following line in the trace:
LoadState(path_state, LoadStateDataFileOptions='Choose File Names',
DataDirectory=some/path,
uvwp_pltFileName=[some/path],
str_trn_pltFileName=[some/path])
where I replaced lengthy paths by some/path
for better readability.
However, executing this line in pvpython throws the following error:
AttributeError: Attribute uvwp_pltFileName does not exist. This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute.
Now … is this a bug or is it a feature. If the latter is the case, how exactly do I call the add_attribute()
function?