<div>I have tried , and that was it.</div>
<div>Thanks !<br><br></div>
<div class="gmail_quote">Le 23 avril 2010 20:25, Berk Geveci <span dir="ltr">&lt;<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>&gt;</span> a écrit :<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I suspect that this is because you did not set the whole extent in the<br>RequestInformation script. You need something like:<br>
<br>from paraview import util<br>util.SetOutputWholeExtent(self, [0, 10, 0, 10, 0, 30])<br><br>where the list is i_min, i_max, j_min, j_max, k_min, k_max for the<br>structured grid. In some cases, this requires actually reading the<br>
data in RequestInformation.<br><font color="#888888"><br>-berk<br></font>
<div class="im"><br>2010/4/23 Aurélien Marsan &lt;<a href="mailto:aur.marsan@gmail.com">aur.marsan@gmail.com</a>&gt;:<br></div>
<div>
<div></div>
<div class="h5">&gt; Hello,<br>&gt;<br>&gt; I use a personnal reader that creates a vtk.vtkStructuredGrid.<br>&gt; I realize the programmable source, with this script :<br>&gt;<br>&gt;&gt;<br>&gt;&gt; import PersoModule<br>
&gt;&gt; self.GetOutput().DeepCopy(PersoModule.Read(.........))<br>&gt;<br>&gt;<br>&gt; If at first, I choose Output Data Type as PolyData, click on Apply, and then<br>&gt; choose Output Data Type as StructuredGrid and click on &quot;Apply&quot; again, it<br>
&gt; works.<br>&gt;<br>&gt; But if I choose Output Data Type = StructuredGrid directly, nothing appears,<br>&gt; and the Output is empty.<br>&gt;<br>&gt; Do i do something wrong ?<br>&gt;<br>&gt; A.MARSAN<br></div></div>
<div>
<div></div>
<div class="h5">&gt; _______________________________________________<br>&gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>&gt;<br>&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">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 href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>&gt;<br>&gt;<br></div></div>
</blockquote></div><br>