# How to find the view in which a source is rendered, and vice versa

**URL:** https://discourse.paraview.org/t/how-to-find-the-view-in-which-a-source-is-rendered-and-vice-versa/17642
**Category:** ParaView Support
**Tags:** python
**Created:** [June 30, 2026, 4:08pm UTC](https://discourse.paraview.org/t/how-to-find-the-view-in-which-a-source-is-rendered-and-vice-versa/17642 "2026-06-30T16:08:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![CsatiZoltan](https://discourse.paraview.org/user_avatar/discourse.paraview.org/csatizoltan/32/6997_2.png) [@CsatiZoltan](https://discourse.paraview.org/u/CsatiZoltan)
#### Post date: [June 30, 2026, 4:08pm UTC](https://discourse.paraview.org/t/how-to-find-the-view-in-which-a-source-is-rendered-and-vice-versa/17642/1 "2026-06-30T16:08:06Z")

</div>

In the ParaView GUI, a source in the pipeline browser and its representation in a view are linked, shown by the eye icon.

How can I find using Python scripting the source for a given view proxy object, and the view proxy objects for a given source?

---

<div class="post-metadata">

### Author: ![Mathurin\_Lemarie](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mathurin_lemarie/32/16816_2.png) [@Mathurin\_Lemarie](https://discourse.paraview.org/u/Mathurin_Lemarie)
#### Post date: [July 3, 2026, 1:49pm UTC](https://discourse.paraview.org/t/how-to-find-the-view-in-which-a-source-is-rendered-and-vice-versa/17642/2 "2026-07-03T13:49:56Z")

</div>

Hello @CsatiZoltan ,

In ParaView python, you can retrieve the source from a view by first fetching the view:

- Assuming it is the active view: `view = GetActiveView()`
- Or you can retrieve all views with: `viewList = GetViews()`

From this view proxy, you can then find the representation of your source and get it’s input which will be the source: `source = view.Representations[0].Input`

As far as I know, the other way around is not possible if your source is not active.

You can however always retrieve actives objects as I explained above:

- 

```auto
GetActiveView()

```

- 

```auto
GetActiveSource()

```

- 

```auto
GetActiveCamera()

```

etc…

---

<div class="post-metadata">

### Author: ![CsatiZoltan](https://discourse.paraview.org/user_avatar/discourse.paraview.org/csatizoltan/32/6997_2.png) [@CsatiZoltan](https://discourse.paraview.org/u/CsatiZoltan)
#### Post date: [July 7, 2026, 8:56am UTC](https://discourse.paraview.org/t/how-to-find-the-view-in-which-a-source-is-rendered-and-vice-versa/17642/3 "2026-07-07T08:56:15Z")

</div>

Thank you, it works.

---

<div class="post-metadata">

### Author: ![CsatiZoltan](https://discourse.paraview.org/user_avatar/discourse.paraview.org/csatizoltan/32/6997_2.png) [@CsatiZoltan](https://discourse.paraview.org/u/CsatiZoltan)
#### Post date: [July 7, 2026, 12:49pm UTC](https://discourse.paraview.org/t/how-to-find-the-view-in-which-a-source-is-rendered-and-vice-versa/17642/4 "2026-07-07T12:49:13Z")

</div>

> [@Mathurin\_Lemarie](#):
>
> From this view proxy, you can then find the representation of your source and get it’s input which will be the source: `source = view.Representations[0].Input`

When does a view have multiple representations? I am asking it because you indexed the first element of it. Could you please point me to a source that explains the representations in ParaView?

---

<div class="post-metadata">

### Author: ![dcthomp](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dcthomp/32/20_2.png) [@dcthomp](https://discourse.paraview.org/u/dcthomp)
#### Post date: [July 7, 2026, 1:36pm UTC](https://discourse.paraview.org/t/how-to-find-the-view-in-which-a-source-is-rendered-and-vice-versa/17642/5 "2026-07-07T13:36:51Z")

</div>

Each entry in the pipeline browser with an active “eyeball” icon next to it is a representation in that view.

(Also: Each pipline object should have either 0 or 1 representations in a particular view, but since there may be multiple views, pipeline objects may have multiple representations.)
