<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><meta http-equiv="x-dns-prefetch-control" content="off"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br><br>Using the temp folder no changes happen, but changing the slashes the message error also changes. Now the error message is the following:<br><br><span style="font-family: 'Courier'; font-size: 8.25pt; color: rgb(255, 0, 0);">Traceback (most recent call last):</span>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 8.25pt; color: rgb(255, 0, 0);">  File "&lt;string&gt;", line 3, in &lt;module&gt;</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 8.25pt; color: rgb(255, 0, 0);">  File "C:\Archivos de programa\ParaView 3.8.0-RC2\lib\paraview-3.8\paraview\simple.py", line 115, in OpenDataFile</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 8.25pt; color: rgb(255, 0, 0);">    reader = globals()[xml_name](FileName=filename, **extraArgs)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 8.25pt; color: rgb(255, 0, 0);">  File "C:\Archivos de programa\ParaView 3.8.0-RC2\lib\paraview-3.8\paraview\simple.py", line 542, in CreateObject</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 8.25pt; color: rgb(255, 0, 0);">    setattr(px, param, params[param])</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 8.25pt; color: rgb(255, 0, 0);">  File "C:\Archivos de programa\ParaView 3.8.0-RC2\lib\paraview-3.8\paraview\servermanager.py", line 201, in __setattr__</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 8.25pt; color: rgb(255, 0, 0);">    "to add this attribute.")</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 8.25pt; color: rgb(255, 0, 0);">AttributeError: Attribute FileName does not exist.  This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute.</span></p><br>Some ideas?<br>Thanks again!<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2">----- Mensaje reenviado ----<br><b><span style="font-weight: bold;">De:</span></b> pat marion &lt;pat.marion@kitware.com&gt;<br><b><span style="font-weight: bold;">Para:</span></b> Utkarsh Ayachit &lt;utkarsh.ayachit@kitware.com&gt;<br><b><span style="font-weight: bold;">CC:</span></b> llapis Pencil &lt;llapispencil@yahoo.es&gt;; PARAVIEW &lt;paraview@paraview.org&gt;<br><b><span
 style="font-weight: bold;">Enviado:</span></b> mar,6 julio, 2010 15:20<br><b><span style="font-weight: bold;">Asunto:</span></b> Re: [Paraview] Rv: 1 script open different vtk files<br></font><br> Also, try changing the backslashes to forward slashes.<br><br>Pat<br><br><div class="gmail_quote">On Tue, Jul 6, 2010 at 9:10 AM, Utkarsh Ayachit <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:utkarsh.ayachit@kitware.com" target="_blank" href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.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;">Try putting the file under "c:\temp" does that help?<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Tue, Jul 6, 2010 at 9:01 AM, llapis Pencil &lt;<a rel="nofollow" ymailto="mailto:llapispencil@yahoo.es" target="_blank" href="mailto:llapispencil@yahoo.es">llapispencil@yahoo.es</a>&gt; wrote:<br>
&gt; hi again,<br>
&gt;<br>
&gt; I tried to run the script through the python shell, but it still comes up<br>
&gt; errors. The error message is the following:<br>
&gt;<br>
&gt; Traceback (most recent call last):<br>
&gt;<br>
&gt; File "&lt;string&gt;", line 3, in &lt;module&gt;<br>
&gt;<br>
&gt; File "C:\Archivos de programa\ParaView<br>
&gt; 3.8.0-RC2\lib\paraview-3.8\paraview\simple.py", line 109, in OpenDataFile<br>
&gt;<br>
&gt; raise RuntimeError, "File not readable: %s " % filename<br>
&gt;<br>
&gt; RuntimeError: File not readable: C:\Documents and Settings\Nit@\Mis<br>
&gt; documentos\stuttgart\hiwi\outputtk\output\out1-1.vtk<br>
&gt;<br>
&gt; Does someone knows why is still not working? It seems that it can not read<br>
&gt; the vtk files. I tried different many details like change " for 'or putting<br>
&gt; only the filename (not the whole file extension). The Render should be<br>
&gt; reffered to somewhere or it's ok with an empty ( ) ? or it's a problem of<br>
&gt; the file type?<br>
&gt;<br>
&gt; #The python script is the following:<br>
&gt;<br>
&gt; from paraview.simple import *<br>
&gt;<br>
&gt; reader1 = OpenDataFile('C:\Documents and Settings\output\out1-1.vtk')<br>
&gt; reader2 = OpenDataFile('C:\Documents and Settings\output\out1-2.vtk')<br>
&gt; reader3 = OpenDataFile('C:\Documents and Settings\output\out1-3.vtk')<br>
&gt; reader4 = OpenDataFile('C:\Documents and Settings\output\out1-4.vtk')<br>
&gt;<br>
&gt; Show(reader1)<br>
&gt; Show(reader2)<br>
&gt; Show(reader3)<br>
&gt; Show(reader4)<br>
&gt;<br>
&gt;<br>
&gt; Render()<br>
&gt;<br>
&gt; #############<br>
&gt;<br>
&gt; Thanks again<br>
&gt;<br>
&gt;<br>
&gt; ----- Mensaje reenviado ----<br>
&gt; De: Utkarsh Ayachit &lt;<a rel="nofollow" ymailto="mailto:utkarsh.ayachit@kitware.com" target="_blank" href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;<br>
&gt; Para: llapis Pencil &lt;<a rel="nofollow" ymailto="mailto:llapispencil@yahoo.es" target="_blank" href="mailto:llapispencil@yahoo.es">llapispencil@yahoo.es</a>&gt;<br>
&gt; CC: PARAVIEW &lt;<a rel="nofollow" ymailto="mailto:paraview@paraview.org" target="_blank" href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br>
&gt; Enviado: jue,1 julio, 2010 16:18<br>
&gt; Asunto: Re: [Paraview] 1 script open different vtk files<br>
&gt;<br>
&gt; I believe you are trying to "open" the python script as a data-file<br>
&gt; from File |Open menu-option. To run a python script from the GUI, you<br>
&gt; open the Python shell from "Tools | Python Shell" menu and then click<br>
&gt; "Run Script" on the bottom-left corner to load the script to run.<br>
&gt;<br>
&gt; Utkarsh<br>
&gt;<br>
&gt; On Wed, Jun 30, 2010 at 6:46 AM, llapis Pencil &lt;<a rel="nofollow" ymailto="mailto:llapispencil@yahoo.es" target="_blank" href="mailto:llapispencil@yahoo.es">llapispencil@yahoo.es</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt; hi again,<br>
&gt;&gt;<br>
&gt;&gt; thanks for the response. So i understand i have to create a file<br>
&gt;&gt; contraining<br>
&gt;&gt; this information (reffering to my files) to open it later directly with<br>
&gt;&gt; Paraview. Which type of file should be? because i tried many files and<br>
&gt;&gt; still<br>
&gt;&gt; not work. Paraview ask me to chose a reader to open it. Maybe I should<br>
&gt;&gt; know<br>
&gt;&gt; also which reader. Here is the information contained in the file to be<br>
&gt;&gt; open.<br>
&gt;&gt;<br>
&gt;&gt; from paraview.simple import *<br>
&gt;&gt;<br>
&gt;&gt; reader1 = OpenDataFile(“out1-1.vtk”)<br>
&gt;&gt; reader2 = OpenDataFile("out1-2.vtk")<br>
&gt;&gt; reader3 = OpenDataFile(“out1-3.vtk”)<br>
&gt;&gt; reader4 = OpenDataFile("out1-4.vtk")<br>
&gt;&gt;<br>
&gt;&gt; Show(reader1)<br>
&gt;&gt; Show(reader2)<br>
&gt;&gt; Show(reader3)<br>
&gt;&gt; Show(reader4)<br>
&gt;&gt;<br>
&gt;&gt; Render()<br>
&gt;&gt;<br>
&gt;&gt; ________________________________<br>
&gt;&gt; De: Utkarsh Ayachit &lt;<a rel="nofollow" ymailto="mailto:utkarsh.ayachit@kitware.com" target="_blank" href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;<br>
&gt;&gt; Para: llapis Pencil &lt;<a rel="nofollow" ymailto="mailto:llapispencil@yahoo.es" target="_blank" href="mailto:llapispencil@yahoo.es">llapispencil@yahoo.es</a>&gt;<br>
&gt;&gt; CC: PARAVIEW &lt;<a rel="nofollow" ymailto="mailto:paraview@paraview.org" target="_blank" href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br>
&gt;&gt; Enviado: mié,23 junio, 2010 16:08<br>
&gt;&gt; Asunto: Re: [Paraview] 1 script open different vtk files<br>
&gt;&gt;<br>
&gt;&gt; # for paraview 3.8.0 or greater.<br>
&gt;&gt;<br>
&gt;&gt; from paraview.simple import *<br>
&gt;&gt;<br>
&gt;&gt; reader1 = OpenDataFile(“file1”)<br>
&gt;&gt; reader2 = OpenDataFile("file2")<br>
&gt;&gt; ....<br>
&gt;&gt; Show(reader1)<br>
&gt;&gt; Show(reader2)<br>
&gt;&gt; ...<br>
&gt;&gt;<br>
&gt;&gt; Render()<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jun 23, 2010 at 9:35 AM, llapis Pencil &lt;<a rel="nofollow" ymailto="mailto:llapispencil@yahoo.es" target="_blank" href="mailto:llapispencil@yahoo.es">llapispencil@yahoo.es</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi again,<br>
&gt;&gt;&gt; thanks for the response. Now my question is how can i create a script<br>
&gt;&gt;&gt; which<br>
&gt;&gt;&gt; tells PARAVIEW to open a certain number of vtk files at once and<br>
&gt;&gt;&gt; visualize<br>
&gt;&gt;&gt; them all together?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanx one more time<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt; <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt;&gt; <a rel="nofollow" target="_blank" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt; <a rel="nofollow" target="_blank" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; <a rel="nofollow" target="_blank" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a rel="nofollow" target="_blank" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a rel="nofollow" target="_blank" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a rel="nofollow" target="_blank" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a rel="nofollow" target="_blank" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>
</div></div> 
</div><meta http-equiv="x-dns-prefetch-control" content="on">
</div><br>



      </body></html>