# ParaView Async

**URL:** https://discourse.paraview.org/t/paraview-async/13058
**Category:** ParaView Support
**Created:** [October 18, 2023, 2:51am UTC](https://discourse.paraview.org/t/paraview-async/13058 "2023-10-18T02:51:38Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Jay\_Jai](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jay_jai/32/12390_2.png) [@Jay\_Jai](https://discourse.paraview.org/u/Jay_Jai)
#### Post date: [October 18, 2023, 2:51am UTC](https://discourse.paraview.org/t/paraview-async/13058/1 "2023-10-18T02:51:38Z")

</div>

Hi,

I git cloned ParaView Async, ParaView, and Trame onto VSCode. I am looking to use ParaView Async to connect a simultaneous 2D and 3D visualization which when sweeped over the 3D visualization can highlight the appropriate parts of the 2D visualization. I have the 3D data and know how to access the 2D data on ParaView, but don’t know how to connect the two using Async. Can I get some help on that?

Thanks,  
Jay

P.S. I’m completely new to Trame and Paraview and basically CS but have taken introductory CS courses. However, I can keep up

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos_tsolakis/32/4450_2.png) [@Christos\_Tsolakis](https://discourse.paraview.org/u/Christos_Tsolakis)
#### Post date: [October 18, 2023, 1:45pm UTC](https://discourse.paraview.org/t/paraview-async/13058/2 "2023-10-18T13:45:37Z")

</div>

Hi @Jay_Jai

sounds like an interesting project! I would recommend to start simple by familiarizing yourself with one piece at a time.

If by “sweep” you mean hovering the mouse over then what you describe sounds linked selections see [here](https://docs.paraview.org/en/v5.9.1/UsersGuide/selectingData.html#understanding-selection) for more. You can start by trying to build what you envision through the ParaView GUI so you can figure out what the appropriate pieces in terms of readers, filters or other high level VTK classes are.

For a number of VTK examples see [here](https://examples.vtk.org/site/) while trame examples can be found [here](https://kitware.github.io/trame/examples/) when it comes to ParaView Async two mini apps are available [here](https://gitlab.kitware.com/async/async-paraview-examples).

Note however that at the time of writing selections [are not yet implemented](https://gitlab.kitware.com/async/async-paraview/-/issues/63) in ParaView Async.

---

<div class="post-metadata">

### Author: ![Jay\_Jai](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jay_jai/32/12390_2.png) [@Jay\_Jai](https://discourse.paraview.org/u/Jay_Jai)
#### Post date: [November 2, 2023, 2:29am UTC](https://discourse.paraview.org/t/paraview-async/13058/3 "2023-11-02T02:29:54Z")

</div>

I was able to look through it and I wanted to use the “hover over cells” function and paste the data into the Paraview data table and graph it. I can graph the table, but I’d like help on finding/creating a function that pastes the data into the table. Any suggestions?

Thank you for your prompt response last time, Christos!

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos_tsolakis/32/4450_2.png) [@Christos\_Tsolakis](https://discourse.paraview.org/u/Christos_Tsolakis)
#### Post date: [November 3, 2023, 10:38am UTC](https://discourse.paraview.org/t/paraview-async/13058/4 "2023-11-03T10:38:18Z")

</div>

“Hover over cells” work by utilizing selections which are not yet implemented in ParaView Async.

An example similar to what you describe utilizing ParaView and trame is [here](https://kitware.github.io/trame/examples/paraview/picking.html).

---

<div class="post-metadata">

### Author: ![Jay\_Jai](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jay_jai/32/12390_2.png) [@Jay\_Jai](https://discourse.paraview.org/u/Jay_Jai)
#### Post date: [November 8, 2023, 8:51pm UTC](https://discourse.paraview.org/t/paraview-async/13058/5 "2023-11-08T20:51:32Z")

</div>

Honestly, I emailed Sebastian and he said that ParaView Async may potentially be the way to go but I’m not limited to Async i.e.if Async doesn’t have certain features then I won’t use it.

In the link you provided, is there any real-time updates of data i.e. I hover over one cross-section of the object and it shows one histogram but when I hover over another it switches display? If not, any tips on how I can code it in Python and get it to integrate with ParaView? I think the code would be useful to a lot of ParaView users as well, so I can upload it somewhere so that it can be posted on the ParaView Github Repo.

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [November 8, 2023, 11:10pm UTC](https://discourse.paraview.org/t/paraview-async/13058/6 "2023-11-08T23:10:49Z")

</div>

Are you thinking of an example like [that one](https://github.com/Kitware/trame/tree/master/examples/07_paraview/Picking)?

---

<div class="post-metadata">

### Author: ![Jay\_Jai](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jay_jai/32/12390_2.png) [@Jay\_Jai](https://discourse.paraview.org/u/Jay_Jai)
#### Post date: [November 11, 2023, 7:45pm UTC](https://discourse.paraview.org/t/paraview-async/13058/7 "2023-11-11T19:45:04Z")

</div>

I’m sorry, I’m new to ParaView and Trame. I ran this in my terminal but how do I open the example?

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos_tsolakis/32/4450_2.png) [@Christos\_Tsolakis](https://discourse.paraview.org/u/Christos_Tsolakis)
#### Post date: [November 20, 2023, 1:25pm UTC](https://discourse.paraview.org/t/paraview-async/13058/8 "2023-11-20T13:25:07Z")

</div>

use `pvpython` from ParaView as shown in the instructions above:

```auto
<directory to ParaView>/bin/pvpython -m paraview.apps.trame --trame-app pv_selection

```

Once launched the browser should open automatically. Also, the command above will show a url of the form `https://localhost:<port>` that if you click you can launch the browser with the application.
