Hi there<br>I just checked to lookmark and it&#39;s not what we are looking for, what we need is more like a &quot;macro&quot;, guessing that in paraview terminology is a plugin<br><br>so far we have the plugin working, but the user has to load the file python shell, which is not very user friendly, so all we have left to do is a a file open<br>
<br><br>thanks in advance <br><br><br><div class="gmail_quote">On Fri, Jan 9, 2009 at 11:37 AM, Jorge Mario Mazo <span dir="ltr">&lt;<a href="mailto:jmm.mecanica@gmail.com">jmm.mecanica@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi there<br>I&#39;m very new to paraview<br>and I dont know what a lookmark is, where can I find more info about it?<br>
<br>thanks<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Fri, Jan 9, 2009 at 5:29 AM, Jacques Papper <span dir="ltr">&lt;<a href="mailto:jacques.papper@gmail.com" target="_blank">jacques.papper@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If you want something graphical why don&#39;t you just use the lookmarks ?<br>Load the data you want and then just apply your lookmark.<br>

Jacques<br><br><div class="gmail_quote">2009/1/9 Jorge Mario Mazo <span dir="ltr">&lt;<a href="mailto:jmm.mecanica@gmail.com" target="_blank">jmm.mecanica@gmail.com</a>&gt;</span><div><div></div><div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi everyone<br><br>I have tried the python way and it works, but it´s kind of ugly,&nbsp; and boss kind of wants a more graphic thing, so what I´m doing is making a filechoser in qt and then TRYING to pass the file name to the python script!<br>



so far no success.<br><br><br>A couple of minutes ago I had this idea: write a file choser in python/TK, and run the script from paraview, any ideas if that would work?<br><br>anyway thank to all, good tips<div><div></div>


<div><br><div class="gmail_quote">
<br><br><br>On Thu, Jan 8, 2009 at 9:21 AM, Jean Favre <span dir="ltr">&lt;jfavre@cscs.ch&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>On 08, Jan 2009 01:33 PM, mirko heuegger &lt;<a href="mailto:mheuegger@gmail.com" target="_blank">mheuegger@gmail.com</a>&gt; wrote:<br>
<br>
&gt;you mean, using the _same_ paraView state-file, but different<br>
&gt;&#39;data&#39;-files?<br>
&gt;if so, this is not really possible.<br>
<br>
</div>There is a solution, using the Python Shell.<br>
<br>
1) load your existing state file<br>
2) identify the name of your data object in the pipeline browser. It is<br>
usually the filename stripped of its directory name<br>
3) open the Python Shell and type<br>
<br>
pm = servermanager.ProxyManager()<br>
reader = pm.GetProxy(&#39;sources&#39;, &#39;filename&#39;)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # where &#39;filename&#39; is<br>
the string found above in 2)<br>
<br>
# your data object is likely to have a name called FileName.<br>
# you may print it to verify<br>
reader.FileName<br>
# you may change it to a new filename<br>
reader.FileName = &quot;your new filename&quot;<br>
<br>
4) Forcing the render window to refresh itself will be enough to cause<br>
the update of the whole pipeline. Otherwise, you get a handle to your<br>
view and call StillRender, i.e.<br>
<br>
view = servermanager.GetRenderView()<br>
view.StillRender()<br>
<font color="#888888"><br>
--<br>
Jean --<br>
Swiss National Supercomputing Centre<br>
</font><div><div></div><div><br>
_______________________________________________<br>
ParaView mailing list<br>
<a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a><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>
</div></div><br>_______________________________________________<br>
ParaView mailing list<br>
<a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a><br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div></div></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br>