<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"><<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>></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 <<a href="mailto:aur.marsan@gmail.com">aur.marsan@gmail.com</a>>:<br></div>
<div>
<div></div>
<div class="h5">> Hello,<br>><br>> I use a personnal reader that creates a vtk.vtkStructuredGrid.<br>> I realize the programmable source, with this script :<br>><br>>><br>>> import PersoModule<br>
>> self.GetOutput().DeepCopy(PersoModule.Read(.........))<br>><br>><br>> If at first, I choose Output Data Type as PolyData, click on Apply, and then<br>> choose Output Data Type as StructuredGrid and click on "Apply" again, it<br>
> works.<br>><br>> But if I choose Output Data Type = StructuredGrid directly, nothing appears,<br>> and the Output is empty.<br>><br>> Do i do something wrong ?<br>><br>> A.MARSAN<br></div></div>
<div>
<div></div>
<div class="h5">> _______________________________________________<br>> Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>><br>> Visit other Kitware open-source projects at<br>
> <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:<br>> <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>><br>><br></div></div>
</blockquote></div><br>