<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I would like to revisit that using the python threading module in para
view causes serious problems, and would be a possible answer to the
problem.<br>
Berk Geveci wrote:
<blockquote
cite="mid:45d654b0810171339i56ab8c81p5df45488c8a73ac6@mail.gmail.com"
type="cite">
<pre wrap="">I am afraid you cannot. I think it is a good idea though. You may want
to consider filing a feature request here: <a class="moz-txt-link-freetext" href="http://paraview.org/Bug">http://paraview.org/Bug</a>
On Fri, Oct 17, 2008 at 4:03 PM, David Fuentes <a class="moz-txt-link-rfc2396E" href="mailto:fuentesdt@gmail.com"><fuentesdt@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Can you return control to the GUI during the execution of the python script?
During the loop I want to enable GUI interaction w/ the view,
i.e. use mouse to rotate/translate/etc...
but ParaView will not let me move/rotate until After the script is complete.
df
On Fri, 17 Oct 2008, Berk Geveci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">What you need is something like:
pm=servermanager.ProxyManager()
femdata = pm.GetProxy("sources","femdata")
for i in range(10):
femdata.FileName = "foo%d.inp" % i
servermanager.GetRenderView().StillRender()
ParaView takes care of updating other objects for you. If you want to
learn more, I suggest searching for "demand driven pipeline". The VTK
book is a good source of information.
-berk
On Fri, Oct 17, 2008 at 12:50 PM, David Fuentes <a class="moz-txt-link-rfc2396E" href="mailto:fuentesdt@gmail.com"><fuentesdt@gmail.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Not sure if the AVS file reader is "time aware" but,
using the python interface it seems possible to write a script
to animate a time series of AVS files. Changing the reader filename via
the
python interface seems to work:
pm=servermanager.ProxyManager()
femdata = pm.GetProxy("sources","femdata")
femdata.SetPropertyWithName("FileName",".../new_filename.inp")
To create an animation would probably have to update various
other objects attached to the reader though.
How could you determine all objects attached to the reader
that need to be updated?
using paraview 3.2.1,
df
_______________________________________________
ParaView mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->_______________________________________________
ParaView mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</body>
</html>