# Extract point data in order

**URL:** https://discourse.paraview.org/t/extract-point-data-in-order/15008
**Category:** ParaView Support
**Created:** [July 8, 2024, 1:02pm UTC](https://discourse.paraview.org/t/extract-point-data-in-order/15008 "2024-07-08T13:02:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![RamoniZSA](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ramonizsa/32/14768_2.png) [@RamoniZSA](https://discourse.paraview.org/u/RamoniZSA)
#### Post date: [July 8, 2024, 1:02pm UTC](https://discourse.paraview.org/t/extract-point-data-in-order/15008/1 "2024-07-08T13:02:33Z")

</div>

Hello!

Given a 3D object, I perform the cut using the ‘Slice’ filter and want to collect the coordinates of some selected points. Using the ‘Select points on’ filter, I marked all the points in the figure below, starting from the point with ID 177, in a counterclockwise direction.  
However, in the ‘Find Data’ tab it is possible to see that the points are ordered by ID and not by selection.  
This way, when I extract the data, it is not in the order I selected.  
I would like to know how I can get the coordinates of the points following the selection order.

Thank you in advance!

 ![Captura de tela de 2024-07-08 09-43-48](https://discourse.paraview.org/uploads/default/original/2X/b/be45a33c525dc07b4ab54e125c4347cf9a8c195e.png)

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [July 8, 2024, 3:19pm UTC](https://discourse.paraview.org/t/extract-point-data-in-order/15008/2 "2024-07-08T15:19:47Z")

</div>

Usually in the ParaView data model the order of points should not matter. What are you trying to achieve here?

---

<div class="post-metadata">

### Author: ![RamoniZSA](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ramonizsa/32/14768_2.png) [@RamoniZSA](https://discourse.paraview.org/u/RamoniZSA)
#### Post date: [July 8, 2024, 4:27pm UTC](https://discourse.paraview.org/t/extract-point-data-in-order/15008/3 "2024-07-08T16:27:30Z")

</div>

Hi, I want to export the coordinates of the selected points to use in C++ code. In my code, the order of the points matters, they need to be counterclockwise.

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [July 12, 2024, 1:38pm UTC](https://discourse.paraview.org/t/extract-point-data-in-order/15008/4 "2024-07-12T13:38:16Z")

</div>

I do not see an easy way to do that. You will probably need some manual operation to reorder them (more likely outside of ParaView)
