Hi Patrick,<br><br>Have you tried adding a StringVectorProperty to your XML for a filename (with &lt;FileListDomain name=&quot;files&quot;/&gt;) and having a GUI XML file for adding a reader?  I think someone suggested you look at the helix source xml (<a href="http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Examples/Plugins/HelixSource/helix.xml;h=d6c385561d9cdffc5298ced17d700bae8bc167b6;hb=HEAD">http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Examples/Plugins/HelixSource/helix.xml;h=d6c385561d9cdffc5298ced17d700bae8bc167b6;hb=HEAD</a>) and you can see how to add the GUI XML file in the other reader example (<a href="http://paraview.org/gitweb?p=ParaView.git;a=tree;f=Examples/Plugins/Reader;hb=HEAD">http://paraview.org/gitweb?p=ParaView.git;a=tree;f=Examples/Plugins/Reader;hb=HEAD</a>)<br>
<br>Note: I haven&#39;t actually tried this as I&#39;m not at a computer today with the source on it.<br><br>Regards,<br>Paul<br><br><br><div class="gmail_quote">On 18 October 2010 18:14, Adriano Gagliardi <span dir="ltr">&lt;<a href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</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;"><br>
Hi Patrick,<br>
<br>
Is there a reason you don&#39;t want to write a C++ plugin to achieve this?<br>
Readers are fairly straightforward to implement with ParaView and there are<br>
plenty of examples. Plus, I don&#39;t know if it is possible to achieve what you<br>
want with Python API alone, but hopefully someone will correct me if I&#39;m<br>
wrong.<br>
<br>
Cheers,<br>
<font color="#888888">Adriano<br>
</font><div class="im"><br>
===================================<br>
<br>
Adriano Gagliardi MEng PhD<br>
Business Sector Leader<br>
Computational Aerodynamics<br>
Aircraft Research Association Ltd.<br>
Manton Lane<br>
Bedford<br>
<br>
Tel: 01234 32 4644<br>
E-mail: <a href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</a><br>
Url: <a href="http://www.ara.co.uk" target="_blank">www.ara.co.uk</a><br>
-----Original Message-----<br>
</div><div class="im">From: Brockmann Patrick [mailto:<a href="mailto:Patrick.Brockmann@cea.fr">Patrick.Brockmann@cea.fr</a>]<br>
Sent: 18 October 2010 18:04<br>
To: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
Cc: <a href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</a><br>
Subject: Re: [Paraview] Python Reader<br>
<br>
<br>
&gt; I&#39;m assuming you want something more refined than:<br>
&gt;<br>
&gt; Programmable Filter:<br>
&gt;<br>
&gt; filename = &#39;myfilename&#39;<br>
&gt; execfile(my_python_code.py)<br>
&gt;<br>
&gt; ---<br>
&gt; where filename is used within my_python_code as a variable?<br>
&gt;<br>
Yes, especially if you want to design a plugin where filename is an entry<br>
choosen by a user.<br>
I am looking for a real example in the configuration of a<br>
ServerManagerConfiguration file for a python reader.<br>
<br>
Thanks<br>
Patrick<br>
<br>
<br>
<br>
</div><div class="im">**********************************************************************<br>
This email contains information that is private and confidential and is intended only for the addressee.<br>
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br>
Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br>
system management and security reasons.<br>
Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:<br>
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245<br>
<br>
**********************************************************************<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">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>