<div dir="ltr">Thank you, this fixed by problem. I have another related question. <div><br></div><div>I am working on a data set that has multiple subdomains, so "reader.GetOutput().GetBlock(0).GetBlock(1)" also exists. Do I need to create two vtkContourFilters to show both subdomains, or is it possible to setup two input ports on the vtkContourFilter. The latter doesn't seem to work (I can send a script if this should work).</div><div><br></div><div>Thanks again,</div><div>Andrew</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 12:50 AM, Favre Jean <span dir="ltr"><<a href="mailto:jfavre@cscs.ch" target="_blank">jfavre@cscs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt"><br>
There are a couple of issues with your example.<br>
<br>
The Exodus reader creates a multi-block dataset, whose first block is itself a multi-block dataset (You can see that in ParaView's Information tab).<br>
<br>
thus, your input should be:<br>
<br>
contours.SetInputData(reader.GetOutput().GetBlock(0).GetBlock(0))<br>
<br>
second, you need to tell contours which variable to use:<br>
<br>
contours.SetInputArrayToProcess(0, 0, 0, 0, "u")<br>
<div><br>
<div><font size="2"><span style="font-size:10pt">
<div>-----------------<br>
Jean/CSCS<br>
</div>
</span></font></div>
</div>
</div>
</div>
</blockquote></div><br></div>