<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Hi Jeff,</div><div><br></div><div>I had tried the AddID function, it also resulted in 0 points in the output. When I added the ::INDICES and ::POINT properties, the output now has 50 points (still supposed to be 11).</div>
<div><br></div><div>I see in the Source article you did this:</div><div>vtkUnstructuredGrid* extracted = extractSelection->GetOutput();</div><div><br></div><div>but when I try that it tells me cannot convert vtkDataObject to vtkUnstructuredGrid. Hence my vtkDataSet::SafeDownCast. Maybe this is the problem?</div>
<div class="im">
<div><br></div><div>Here is the latest version:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/ExtractSelection" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/ExtractSelection</a></div></div><div><br clear="all">
Thanks,<br><font color="#888888"><br>
David</font></div>
</blockquote></div><br><div>Any more thoughts on this?</div><div><br></div><div>Thanks,<br><br>David<br></div>