Hi Fabian,<br><br>Regarding your issue of python trace state not replicating your paraview state exactly, I believe both issues you quote (camera position and cut filter's slice property) have been addressed in the latest version of paraview. If not, can you list the steps required to repeat the problem? I can't find bug reports for these issues, but below I have copied the git logs for the commits the addressed the issues.<br>
<br>Pat<br><br>commit f3f73df79fe4ca377297885c4c71bcba661b165d<br>Author: Pat Marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>><br>Date: Tue May 18 14:50:17 2010 -0400<br><br> BUG: Add method to disable the first render ResetCamera.<br>
<br> Added python method paraview.simple._DisableFirstRenderResetCamera()<br> and included it at the top of all generated trace scripts. This is<br> tested by PythonSMTraceTest1 since I removed the extra 'Render()'<br>
call from the test which was there to work around the issue.<br><br>commit d9119f6be4b10b97b18fc2a2d5232788363d3fc9<br>Author: Pat Marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>><br>Date: Fri Apr 30 13:35:03 2010 -0400<br>
<br> BUG: Group helper proxies with the proxy using the helper.<br> <br> For example, now 'my_slice.SliceType.Normal' is mapped to my_slice<br> instead of the SliceType helper proxy. Now when you trace state,<br>
the helper proxy's properties are grouped with the parent proxy.<br> Previously all helper proxy properties were listed at the very<br> end of the trace, and that was incorrect.<br><br><br><div class="gmail_quote">
On Mon, Jan 24, 2011 at 2:39 PM, Fabian Braennstroem <span dir="ltr"><<a href="mailto:f.braennstroem@gmx.de">f.braennstroem@gmx.de</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;">
Hello,<br>
<br>
thanks for the info!<br>
Is my impression correct, that in version 3.8.1 the python trace state process is not as 'complete' as using the old state file approach?<br>
For my case setup, e.g. there is not always the correct camera position and the correct slices...<br>
<br>
Best Regards!<br><font color="#888888">
Fabian</font><div><div></div><div class="h5"><br>
<br>
On 01/24/2011 08:13 PM, David E DeMarle wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
That page is ancient.<br>
<br>
I think PVFWrap was the predecessor to paraview.simple which since 3.6<br>
is the standard way to do ParaView python scripting (see python<br>
trace).<br>
The comments about paraview state files being too verbose have been<br>
addressed since then as well.<br>
<br>
Or did you mean something else?<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
<br>
<br>
<br>
On Mon, Jan 24, 2011 at 2:02 PM, Fabian Braennstroem<br>
<<a href="mailto:f.braennstroem@gmx.de" target="_blank">f.braennstroem@gmx.de</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I just found this page and wonder, if this will be a new approach for python<br>
scripting:<br>
<br>
<a href="http://www.paraview.org/ParaView3/index.php/Visualization_Script_Examples#Paraview_Python_Script_with_PVFWrap" target="_blank">http://www.paraview.org/ParaView3/index.php/Visualization_Script_Examples#Paraview_Python_Script_with_PVFWrap</a><br>
<br>
In addition, there are comments about the VisIt way... do you plan something<br>
like this!?<br>
<br>
Best Regards!<br>
Fabian<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<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:<br>
<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></blockquote>
<br>
_______________________________________________<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>
</div></div></blockquote></div><br>