Hi all,

I got some problems with the generated python code using paraview 3.8
(Python Trace State).

Using paraview GUI, I can load my pvsm file and when selecting "Glyph2" in
the pipeline browser, I
can set values like 'Solid Color', 'cellNormal', 'Velocity_Bis', ...

However, when executing the generated code using pvpython, I got this error:

vtkPVDReader : [ ...........]
vtkPVArrayCalculator : [ ...........]
vtkPVArrayCalculator : [ ...........]
vtkWarpVector : [ ...........]
vtkPVClipDataSet : [ ...........]
vtkPVArrowSource : [ ...........]
vtkPVGlyphFilter : [ ...........]
Traceback (most recent call last):
  File "p5.py", line 365, in <module>
    DataRepresentation13.ColorArrayName = 'Velocity_bis'
  File
"/home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/ParaViewBin/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 204, in __setattr__
  File
"/home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/ParaViewBin/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 2361, in setProperty
  File
"/home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/ParaViewBin/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 253, in SetPropertyWithName
  File
"/home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/ParaViewBin/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 681, in SetData
ValueError: Could not locate array Velocity_bis in the input.

Any idea? Or advice to tackle this issue?

Best Regards,

Laurent
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to