<div>I found a solution to do what I wanted to do. Not really elegant, but it works. </div>
<div>The best would be to encode the reader in the source code.... but I don&#39;t know how to do, and have no time for now. </div>
<div> </div>
<div>First, I use the tool Source -&gt; Data Object Generator, and create a MultiBlockDataSet.</div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">MB{}</blockquote>
<div> </div>
<div>Then, I use a Programmable Filter, and set the Output Data Type &quot;Same as Input&quot;.</div>
<div>So I can use this script.</div>
<div> </div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>from Moduleperso import *</div>
<div>m = MultiBlocFromV3D(........)       # This is a personnal reader in python, that returns a vtkMultiBlockDataSet</div>
<div>self.GetOutputDataObject(0).DeepCopy(m)</div></blockquote>
<div> </div>
<div>Hope this will help some people who don&#39;t want to go in source code... </div></div>
<div> </div></div>
<div class="gmail_quote">Le 23 avril 2010 14:07, Aurélien Marsan <span dir="ltr">&lt;<a href="mailto:aur.marsan@gmail.com">aur.marsan@gmail.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">
<div>Maybe I have found a way to avoid the Programmable Source... </div>
<div> </div>
<div>But Is it possible to export an object created in the python shell directly into the pipeline of the paraview interface ?<br><br></div>
<div class="gmail_quote">Le 22 avril 2010 15:36, Aurélien Marsan <span dir="ltr">&lt;<a href="mailto:aur.marsan@gmail.com" target="_blank">aur.marsan@gmail.com</a>&gt;</span> a écrit : 
<div>
<div></div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi, </div>
<div> </div>
<div>A new thing I don&#39;t know how to do with Paraview.</div>
<div>I have written a personnal reader, that creates vtkStructuredGrid from files written in so called format &quot;v3d&quot;. So I&#39;m able to construct a MutliBlockDataSet, that is composed of all the Blocks I&#39;m working with. </div>

<div> </div>
<div>I would like to use &quot;Programmable Source&quot;, so we don&#39;t need to write the file on the disk before to open it with Paraview. </div>
<div>Does &quot;Programmable Source&quot; work with MultiBlockDataSet ? I don&#39;t see this class in the Output Data Set Type that we can choose... </div>
<div> </div>
<div>And is it correct if I write in the Script of the Programmable Filter :</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div>from perso import *</div>
<div>multiblock = MultiBlockDataSetFromV3D(.....)</div>
<div>self.GetOutput().DeepCopy(multiblock)</div></blockquote>
<div>Thanks for help. </div>
<div> </div>
<div>A.MARSAN</div></blockquote></div></div></div><br></blockquote></div><br>