# Changing pvd file after loading

**URL:** https://discourse.paraview.org/t/changing-pvd-file-after-loading/895
**Category:** ParaView Support
**Created:** [November 13, 2018, 11:44pm UTC](https://discourse.paraview.org/t/changing-pvd-file-after-loading/895 "2018-11-13T23:44:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Massimiliano\_Leoni](https://discourse.paraview.org/user_avatar/discourse.paraview.org/massimiliano_leoni/32/376_2.png) [@Massimiliano\_Leoni](https://discourse.paraview.org/u/Massimiliano_Leoni)
#### Post date: [November 13, 2018, 11:44pm UTC](https://discourse.paraview.org/t/changing-pvd-file-after-loading/895/1 "2018-11-13T23:44:25Z")

</div>

Hi all, I remember that a few versions ago, when loading a pvd file, in the Properties panel I had the possibility to change the path of the pvd file, which was very very convenient as it allowed me to seamlessly switch from one result set to another, in a different folder, with just that small edit. Now I see it’s not there anymore and I was wondering if the option was removed completely or is just somewhere else to be found.

Thanks for any help!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 14, 2018, 8:46am UTC](https://discourse.paraview.org/t/changing-pvd-file-after-loading/895/2 "2018-11-14T08:46:59Z")

</div>

Afaik, most reader voluntarily hide the FileName property.  
You can change it using the python shell though  
`GetActiveSource()->FileName = ...`

---

<div class="post-metadata">

### Author: ![Massimiliano\_Leoni](https://discourse.paraview.org/user_avatar/discourse.paraview.org/massimiliano_leoni/32/376_2.png) [@Massimiliano\_Leoni](https://discourse.paraview.org/u/Massimiliano_Leoni)
#### Post date: [November 28, 2018, 2:45am UTC](https://discourse.paraview.org/t/changing-pvd-file-after-loading/895/3 "2018-11-28T02:45:40Z")

</div>

That’s a pity, it was really really convenient to have it there, being able to trigger a reload of all the filters. Thanks for the hint, I will give it a try next time.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 28, 2018, 9:04am UTC](https://discourse.paraview.org/t/changing-pvd-file-after-loading/895/4 "2018-11-28T09:04:15Z")

</div>

Could you point me the version where you had seen this feature ?

If you need it you can simply add a new reader which expose the FileName and internally uses the pvd reader.  
You can do that via a PythonProgrammableSource, a Python plugin or a C++ plugin.

---

<div class="post-metadata">

### Author: ![Massimiliano\_Leoni](https://discourse.paraview.org/user_avatar/discourse.paraview.org/massimiliano_leoni/32/376_2.png) [@Massimiliano\_Leoni](https://discourse.paraview.org/u/Massimiliano_Leoni)
#### Post date: [December 9, 2018, 7:02am UTC](https://discourse.paraview.org/t/changing-pvd-file-after-loading/895/5 "2018-12-09T07:02:35Z")

</div>

It was in version 4.4.0 for example. Here is a screenshot of what i am referring to.

![image](https://discourse.paraview.org/uploads/default/original/1X/7b8efe329f4c41c96e0d5d92458fb4786c6b108f.png)

I wouldn’t be able to do the thing that you mentioned [programmable filter etcetera] on the spot, I would need to look into it.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 18, 2018, 10:28am UTC](https://discourse.paraview.org/t/changing-pvd-file-after-loading/895/6 "2018-12-18T10:28:53Z")

</div>

This has been removed.

Here is an .xml [plugin](https://discourse.paraview.org/uploads/default/original/1X/a17b5522bfe6abece72066a8796171a162213166.xml) (5.2 KB) that exposes it if you need it.  
However if will crash if the new file you select does not contain the same arrays has the initial one.
