<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman"}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
p
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman"}
p.msonormal0, li.msonormal0, div.msonormal0
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman"}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Times New Roman"}
span.emailstyle19
        {font-family:Calibri;
        color:#1F497D}
span.EmailStyle21
        {font-family:Calibri;
        color:windowtext}
span.msoIns
        {text-decoration:underline;
        color:teal}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Ken,  Thanks so much for this suggestion.  I've given it a<br>
brief try, and it looks like it is going to work for us.  Longer<br>
term we may try to write a filter expressly designed for this<br>
use case, but this is workable until then.  Thanks!  -Neil<br>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF485491"><font face="Tahoma" color="#000000" size="2"><b>From:</b> Moreland, Kenneth [kmorel@sandia.gov]<br>
<b>Sent:</b> Thursday, April 21, 2016 9:07 AM<br>
<b>To:</b> Carlson, Neil; Scott, W Alan; paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] [EXTERNAL] Extracting cells by label<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri">Neil,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri">You can do it with the “Find Data” selection mechanism (Section 6.3 of the ParaView Guide). Open the Find Data dialog and make a selection of where the block id field “is one of” a comma
 separated list of block ids you want. When you run the selection query, you should see the cells of those blocks outlined. Then hit the extract selection button that will add a threshold-like filter that will extract those selected blocks.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri">-Ken</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri"> </span></p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri; color:black">From: </span>
</b><span style="font-family:Calibri; color:black">ParaView <paraview-bounces@paraview.org> on behalf of "Carlson, Neil" <nnc@lanl.gov><br>
<b>Date: </b>Thursday, April 21, 2016 at 9:01 AM<br>
<b>To: </b>Walter Scott <wascott@sandia.gov>, "paraview@paraview.org" <paraview@paraview.org><br>
<b>Subject: </b>Re: [Paraview] [EXTERNAL] Extracting cells by label</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt; font-family:Tahoma; color:black">Sort of, but not exactly.  Threshold would allow me to remove<br>
blocks below a min value and above a max value.  But what I<br>
want is to be able to select (via a checkbox list, for example)<br>
exactly which blocks I want to see, not limited to those in a<br>
range.  And to reiterate, "block n" consists of all cells with<br>
value n in a cell-centered data field.</span></p>
<div>
<div class="MsoNormal" style="text-align:center" align="center"><span style="color:black">
<hr align="center" size="2" width="100%">
</span></div>
<div id="divRpF92164">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt; font-family:Tahoma; color:black">From:</span></b><span style="font-size:10.0pt; font-family:Tahoma; color:black"> Scott, W Alan [wascott@sandia.gov]<br>
<b>Sent:</b> Wednesday, April 20, 2016 5:00 PM<br>
<b>To:</b> Carlson, Neil; paraview@paraview.org<br>
<b>Subject:</b> RE: [EXTERNAL] [Paraview] Extracting cells by label</span><span style="color:black"></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri; color:#1F497D">You mean like the threshold filter?  Threshold out those blocks you don’t want…</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri; color:#1F497D"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri; color:#1F497D">Alan</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri; color:#1F497D"> </span><span style="color:black"></span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:Calibri; color:black">From:</span></b><span style="font-size:11.0pt; font-family:Calibri; color:black"> ParaView [mailto:paraview-bounces@paraview.org]
<b>On Behalf Of </b>Carlson, Neil<br>
<b>Sent:</b> Wednesday, April 20, 2016 4:13 PM<br>
<b>To:</b> paraview@paraview.org<br>
<b>Subject:</b> [EXTERNAL] [Paraview] Extracting cells by label</span><span style="color:black"></span></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> </span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt; font-family:Tahoma; color:black">I have a grid (unstructured and not multi-block) and a cell-centered<br>
data field on the grid.  The field has integer values that serve to<br>
group the cells into conceptual blocks: cells with value 1 form block 1,<br>
and so forth.  Is there some filter that can use such data to actually<br>
extract blocks in such a way that paraview can control their loading<br>
individually, like with the multiblock inspector or the ExtractBlock<br>
filter?<br>
<br>
Thanks, Neil</span><span style="color:black"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>