# Threshold of vtkPolyData with vtkLines

**URL:** https://discourse.paraview.org/t/threshold-of-vtkpolydata-with-vtklines/1645
**Category:** ParaView Support
**Created:** [April 11, 2019, 5:48pm UTC](https://discourse.paraview.org/t/threshold-of-vtkpolydata-with-vtklines/1645 "2019-04-11T17:48:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stuart.buckingham](https://discourse.paraview.org/user_avatar/discourse.paraview.org/stuart.buckingham/32/1327_2.png) [@stuart.buckingham](https://discourse.paraview.org/u/stuart.buckingham)
#### Post date: [April 11, 2019, 5:48pm UTC](https://discourse.paraview.org/t/threshold-of-vtkpolydata-with-vtklines/1645/1 "2019-04-11T17:48:36Z")

</div>

Hi all,

I have generated a dataset similar to this example: [https://lorensen.github.io/VTKExamples/site/Python/GeometricObjects/LongLine/](https://lorensen.github.io/VTKExamples/site/Python/GeometricObjects/LongLine/) but with multiple point data arrays in the dataset as well.

I can open the file in Paraview and it displays all of the arrays perfectly. The information tab shows 11804 cells and 11805 points. I want to then threshold the line to where an array is greater than a certain value, however this causes nothing to be displayed, and the information tab shows 0 points and 0 cells. The only work around I have managed is by adding the Point Data to Cell Data filter and then thresholding off the cell data. Is there a better way of doing this while preserving the point data attribute?

Thanks,

Stuart
