<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Thanks David. I will try it.<br><br>> Date: Tue, 16 Nov 2010 07:52:48 -0500<br>> From: daviddoria@gmail.com<br>> To: billno123@hotmail.com<br>> CC: vtkusers@vtk.org<br>> Subject: Re: [vtkusers] delete a cell (or point)<br>> <br>> On Tue, Nov 16, 2010 at 4:50 AM, Bill Chivas <billno123@hotmail.com> wrote:<br>> > Hello all,<br>> ><br>> > is there an efficient way to delete an element from a grid? One could say<br>> > "just rebuild a new grid with the rest of the cells".<br>> > Imagine i have a very large grid, for example 5 million cells. It's very<br>> > inefficient.<br>> > So, is there any other way to delete a cell (or a point) from a grid apart<br>> > from building a new grid with the remaining cells (or points)?<br>> > If not, any tricks for optimization the current "solution" of re-building<br>> > the grid?<br>> ><br>> > Thanks<br>> <br>> Did you try ExtractSelection with the inverse of the selection of the<br>> points to delete?<br>> <br>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ExtractCellsUsingPoints<br>> <br>> David<br>> _______________________________________________<br>> Powered by www.kitware.com<br>> <br>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>> <br>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>> <br>> Follow this link to subscribe/unsubscribe:<br>> http://www.vtk.org/mailman/listinfo/vtkusers<br>                                            </body>
</html>