# Warp by vector not working

**URL:** https://discourse.paraview.org/t/warp-by-vector-not-working/13134
**Category:** ParaView Support
**Tags:** vtk
**Created:** [October 29, 2023, 7:56pm UTC](https://discourse.paraview.org/t/warp-by-vector-not-working/13134 "2023-10-29T19:56:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nico1305](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nico1305/32/11313_2.png) [@nico1305](https://discourse.paraview.org/u/nico1305)
#### Post date: [October 29, 2023, 7:56pm UTC](https://discourse.paraview.org/t/warp-by-vector-not-working/13134/1 "2023-10-29T19:56:52Z")

</div>

Hi all,

I have just started using Paraview and so I apologize in advance for the question but I have not been able to find a solution.

I have a `vtk` file containing a set of points defined using `VTK_VERTEX`.  
The file also contains some data defined on each point.

This is the file:

```auto
# vtk DataFile Version 4.0
Unstructured Grid Example
ASCII
DATASET UNSTRUCTURED_GRID

POINTS 6 float
0 0 0
1 0 0
2 0 0
0 1 0
1 1 0
2 1 0

CELLS 6 12
1 0
1 1
1 2
1 3
1 4
1 5

CELL_TYPES 6
1
1
1
1
1
1

CELL_DATA 6
FIELD FieldData 2
firstData 1 6 float
1.0
2.0
2.0
3.0
1.0
3.0

secondData 3 6 int
1 2 0
1 3 0
0 2 0
0 0 0
4 1 0
3 0 0

```

I would like to move the position of the points according to `secondData` using the filter `warp by vector`.  
However, when I import the data, this filter is not available (I cannot select it).

What am I doing wrong?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 30, 2023, 9:32am UTC](https://discourse.paraview.org/t/warp-by-vector-not-working/13134/2 "2023-10-30T09:32:26Z")

</div>

`WarpByVector` needs point array, ParaView doesnt know that you have only one point by cell, use `CellDataToPointData` first.
