<div dir="ltr">Hello,<div><br></div><div>I am working on selecting and extracting a subset of lines from a vtkpolydata (PD) that pass through a vtkpoints (selectionPoints). How can I access to indices of selected lines? Also based on below code, output of loop is an empty polydata!</div><div><br></div><div>Here is my sample code:</div><div><br></div><div>loop = vtk.vtkSelectPolyData()</div><div>loop.SetInputData(PD)</div><div>loop.SetLoop(selectionPoints)</div><div>loop.GenerateSelectionScalarsOff()</div><div><br></div><div>I would appreciate any help.</div><div><br></div><div>Best,</div><div>Saeed</div></div>