Hello Pat,<br><br>It has been generated using the "trace state button" .... The generated code is huge (about 900 lines of python code),<br><br>Regards,<br><br>Laurent<br><br><div class="gmail_quote">On Mon, Aug 30, 2010 at 5:59 PM, pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">How are you generating the python trace? Is it recorded using the start/stop trace buttons, or using the trace state button? Is it possible to attach the python trace script and/or the dataset?<br>
<br>Pat<br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Mon, Aug 30, 2010 at 10:28 AM, Laurent Vanboquestal <span dir="ltr"><<a href="mailto:laurent.vanboquestal@gmail.com" target="_blank">laurent.vanboquestal@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">
Hi all,<br><br>I got some problems with the generated python code using paraview 3.8 (Python Trace State).<br><br>Using paraview GUI, I can load my pvsm file and when selecting "Glyph2" in the pipeline browser, I<br>
can set values like 'Solid Color', 'cellNormal', 'Velocity_Bis', ...<br><br>However, when executing the generated code using pvpython, I got this error:<br><br>vtkPVDReader : [ ...........]<br>vtkPVArrayCalculator : [ ...........]<br>
vtkPVArrayCalculator : [ ...........]<br>vtkWarpVector : [ ...........]<br>vtkPVClipDataSet : [ ...........]<br>vtkPVArrowSource : [ ...........]<br>vtkPVGlyphFilter : [ ...........]<br>Traceback (most recent call last):<br>
File "p5.py", line 365, in <module><br> DataRepresentation13.ColorArrayName = 'Velocity_bis'<br> File "/home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/ParaViewBin/Utilities/VTKPythonWrapping/paraview/servermanager.py", line 204, in __setattr__<br>
File "/home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/ParaViewBin/Utilities/VTKPythonWrapping/paraview/servermanager.py", line 2361, in setProperty<br> File "/home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/ParaViewBin/Utilities/VTKPythonWrapping/paraview/servermanager.py", line 253, in SetPropertyWithName<br>
File "/home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/ParaViewBin/Utilities/VTKPythonWrapping/paraview/servermanager.py", line 681, in SetData<br>ValueError: Could not locate array Velocity_bis in the input.<br>
<br>Any idea? Or advice to tackle this issue?<br><br>Best Regards,<br><font color="#888888"><br>Laurent<br>
</font><br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>
</blockquote></div><br>