# \[Paraview\] Is it possible to extract the coordinate of every points on a single streamline and do that for every single streamline?

**URL:** https://discourse.paraview.org/t/paraview-is-it-possible-to-extract-the-coordinate-of-every-points-on-a-single-streamline-and-do-that-for-every-single-streamline/5030
**Category:** ParaView Support
**Tags:** python
**Created:** [August 4, 2020, 5:16pm UTC](https://discourse.paraview.org/t/paraview-is-it-possible-to-extract-the-coordinate-of-every-points-on-a-single-streamline-and-do-that-for-every-single-streamline/5030 "2020-08-04T17:16:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Xinyu\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/xinyu_li/32/4610_2.png) [@Xinyu\_Li](https://discourse.paraview.org/u/Xinyu_Li)
#### Post date: [August 4, 2020, 5:16pm UTC](https://discourse.paraview.org/t/paraview-is-it-possible-to-extract-the-coordinate-of-every-points-on-a-single-streamline-and-do-that-for-every-single-streamline/5030/1 "2020-08-04T17:16:39Z")

</div>

Hi. I plotted thousands of streamlines in Paraview as is shown in the following figure.

 ![图像2020-8-3 下午9.33](https://discourse.paraview.org/uploads/default/original/2X/b/be84a845dbacb162e5984f5200fe6a650933a811.jpeg)  
Now I need to know the coordinate of every points on every single streamline. If I plot spreadsheet directly, all I can get is the coordinate of all unordered points. Is it possible to extract the coordinate of all points of a streamline and then do that for every single streamline, just like the following figure which I selected manually which is impossible to operate when we have thousands of streamlines. ![图像2020-8-3 下午9.38](https://discourse.paraview.org/uploads/default/original/2X/4/4fc0b0e51e21ae87095b0f7d3627b9aacc35f5a1.jpeg)

Xinyu Li

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [August 4, 2020, 6:11pm UTC](https://discourse.paraview.org/t/paraview-is-it-possible-to-extract-the-coordinate-of-every-points-on-a-single-streamline-and-do-that-for-every-single-streamline/5030/2 "2020-08-04T18:11:43Z")

</div>

One note, I think you would want points on the streamline not on the tube.

You could save the points on one streamline, ordered by IntegrationTime, change this pipeline into a script using Tools \> StartTrace, and then add a loop to do the same for all streamlines.

I don’t know if you can do this for all streamlines directly from the interface (without a script).

See the attached pvsm.

[streamline\_points.pvsm](https://discourse.paraview.org/uploads/short-url/hNQKJ5cTqLtOGjmcWVcXiomCQWb.pvsm) (426 KB)

---

<div class="post-metadata">

### Author: ![Xinyu\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/xinyu_li/32/4610_2.png) [@Xinyu\_Li](https://discourse.paraview.org/u/Xinyu_Li)
#### Post date: [August 4, 2020, 7:26pm UTC](https://discourse.paraview.org/t/paraview-is-it-possible-to-extract-the-coordinate-of-every-points-on-a-single-streamline-and-do-that-for-every-single-streamline/5030/4 "2020-08-04T19:26:59Z")

</div>

Hi Dan,

Thank you so much for your reply! I just start to learn how to use paraview, so please forgive me if I ask any stupid questions. When I use File-\>Load Stat-\> Use file names from stateto open the attached pvsm file, the paraview would flash back, so I cannot open the attachment. About the first step you said, could you please tell me how to save the points on one streamline ordered by Integration Time? By the way, the data that I care about is the coordinate of every single streamline at the last integration time.  
Thank you so much!

Cheers,  
Xinyu Li

> [@danlipsa](#):
>
> One note, I think you would want points on the streamline not on the tube.
> 
> You could save the points on one streamline, ordered by IntegrationTime, change this pipeline into a script using Tools \> StartTrace, and then add a loop to do the same for all streamlines.
> 
> I don’t know if you can do this for all streamlines directly from the interface (without a script).
> 
> See the attached pvsm.
> 
> [streamline\_points.pvsm](https://discourse.paraview.org/uploads/short-url/hNQKJ5cTqLtOGjmcWVcXiomCQWb.pvsm) (426 KB)

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [August 5, 2020, 4:48am UTC](https://discourse.paraview.org/t/paraview-is-it-possible-to-extract-the-coordinate-of-every-points-on-a-single-streamline-and-do-that-for-every-single-streamline/5030/5 "2020-08-05T04:48:13Z")

</div>

You have to “Choose File Names” instead of “Use File Names From State”. the disk\_out\_ref is in the examples directory in the directory where ParaView is installed.

---

<div class="post-metadata">

### Author: ![Xinyu\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/xinyu_li/32/4610_2.png) [@Xinyu\_Li](https://discourse.paraview.org/u/Xinyu_Li)
#### Post date: [August 5, 2020, 11:07am UTC](https://discourse.paraview.org/t/paraview-is-it-possible-to-extract-the-coordinate-of-every-points-on-a-single-streamline-and-do-that-for-every-single-streamline/5030/7 "2020-08-05T11:07:47Z")

</div>

Hi Dan,

Thank you so much for your help and I’m so sorry for bothering you again. I’m doing my final project, so it’s quite urgent for me to solve this. The following figure shows my current stage. What should I do next?

 ![截屏2020-08-05上午11.45.52](https://discourse.paraview.org/uploads/default/original/2X/f/ff3490447dd82e1c738493fe3da4901e089d8773.png)

Cheers,  
Xinyu

> [@danlipsa](#):
>
> You have to “Choose File Names” instead of “Use File Names From State”. the disk\_out\_ref is in the examples directory in the directory where ParaView is installed.
