# How to access RenderView name in pvpython

**URL:** https://discourse.paraview.org/t/how-to-access-renderview-name-in-pvpython/16528
**Category:** ParaView Support
**Tags:** vtk, python
**Created:** [April 25, 2025, 3:21pm UTC](https://discourse.paraview.org/t/how-to-access-renderview-name-in-pvpython/16528 "2025-04-25T15:21:56Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![mckel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mckel/32/6435_2.png) [@mckel](https://discourse.paraview.org/u/mckel)
#### Post date: [April 28, 2025, 12:15pm UTC](https://discourse.paraview.org/t/how-to-access-renderview-name-in-pvpython/16528/2 "2025-04-28T12:15:58Z")

</div>

Based on [this discussion](https://discourse.paraview.org/t/get-view-name/3193/3), the following code using `servermanager.ProxyManager().GetProxyName(...)` function can be used:

```py
from paraview.simple import *

layouts = GetLayouts()
for i,l in enumerate(layouts):
    print("Layout name:", l[0]) # This prints "MyLayout"
    views = GetViewsInLayout(layouts[l])
    for j,v in enumerate(views):
        print("View name:", servermanager.ProxyManager().GetProxyName(v.SMProxy.GetXMLGroup(),v)) # This prints "MyView"

```

---

_[View the full topic](https://discourse.paraview.org/t/how-to-access-renderview-name-in-pvpython/16528)._
