<HTML>
<HEAD>
<TITLE>Re: [Paraview] Append DataSet Filter and Exodus Files</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Or first run the merge blocks filter.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 5/7/09 12:55 AM, &quot;John Biddiscombe&quot; &lt;<a href="biddisco@cscs.ch">biddisco@cscs.ch</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>David<BR>
<BR>
The exodus reader is no doubt exporting multiblock data, so the<BR>
SafeDownCast will fail. Add an extra test for Multiblock and then use an<BR>
iterator to loop over blocks and then safedowncast and do what you need<BR>
<BR>
JB<BR>
&gt; Hi,<BR>
&gt;<BR>
&gt;<BR>
&gt; Is there a way to make the Append DataSet Filter work with exodus files?<BR>
&gt; I have several that I want to append to use the calculator on.<BR>
&gt;<BR>
&gt;<BR>
&gt; I tried modifying the source to create a plugin<BR>
&gt;<BR>
&gt; VTK/Graphics/vtkAppendFilter.cxx<BR>
&gt;<BR>
&gt; but I always seem to be getting a null pointer from the SafeDownCast?<BR>
&gt;<BR>
&gt; &nbsp;&nbsp;vtkInformation *inInfo = inputVector[0]-&gt;GetInformationObject(idx);<BR>
&gt; &nbsp;&nbsp;vtkDataSet *ds<BR>
&gt; vtkDataSet::SafeDownCast(inInfo-&gt;Get(vtkDataObject::DATA_OBJECT()));<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; thank you,<BR>
&gt; David Fuentes<BR>
&gt; _______________________________________________<BR>
&gt; Powered by www.kitware.com<BR>
&gt;<BR>
&gt; Visit other Kitware open-source projects at<BR>
&gt; <a 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 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 href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
--<BR>
John Biddiscombe, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email:biddisco @ cscs.ch<BR>
<a href="http://www.cscs.ch/">http://www.cscs.ch/</a><BR>
CSCS, Swiss National Supercomputing Centre &nbsp;| Tel: &nbsp;+41 (91) 610.82.07<BR>
Via Cantonale, 6928 Manno, Switzerland &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| Fax: &nbsp;+41 (91) 610.82.82<BR>
<BR>
<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a 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 href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>