# How to show Glyph immediately when loading pvd files ?

**URL:** https://discourse.paraview.org/t/how-to-show-glyph-immediately-when-loading-pvd-files/3860
**Category:** ParaView Support
**Created:** [March 21, 2020, 12:07pm UTC](https://discourse.paraview.org/t/how-to-show-glyph-immediately-when-loading-pvd-files/3860 "2020-03-21T12:07:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![lainegates](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lainegates/32/2643_2.png) [@lainegates](https://discourse.paraview.org/u/lainegates)
#### Post date: [March 21, 2020, 12:07pm UTC](https://discourse.paraview.org/t/how-to-show-glyph-immediately-when-loading-pvd-files/3860/1 "2020-03-21T12:07:25Z")

</div>

I am writing a numerical program for method like DEM. Each element is a discrete element which is represented by a vtkPolyData. So I wrote displacement data into \*.vtp file and organized with .pvd files. Paraview works greatly !  
In some times, I need to check stresses of elements with 3d vectors. It looks just like show 3d vector for point normal or face normal.  
I know Glyph could show this.  
But I have to add Glyph every time.  
Is there a way that paraview could show Glyph graph immediately when I load \*.pvd file?

---

<div class="post-metadata">

### Author: ![aron.helser](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aron.helser/32/13_2.png) [@aron.helser](https://discourse.paraview.org/u/aron.helser)
#### Post date: [March 21, 2020, 6:47pm UTC](https://discourse.paraview.org/t/how-to-show-glyph-immediately-when-loading-pvd-files/3860/2 "2020-03-21T18:47:59Z")

</div>

I would suggest looking at macros - they let you record some actions, and replay them by clicking a button. You could, immediately after loading a .pvd file, record the actions that you take to add a glyph graph and set up it’s parameters, as a macro.  
HTH, Aron

---

<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: [March 23, 2020, 1:10am UTC](https://discourse.paraview.org/t/how-to-show-glyph-immediately-when-loading-pvd-files/3860/3 "2020-03-23T01:10:06Z")

</div>

Another solution is to use state files.

- Open Your file
- Setup your glyphs
- File -\> SaveState

You can then laod the state to recover the state of the application.

---

<div class="post-metadata">

### Author: ![lainegates](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lainegates/32/2643_2.png) [@lainegates](https://discourse.paraview.org/u/lainegates)
#### Post date: [March 24, 2020, 1:46am UTC](https://discourse.paraview.org/t/how-to-show-glyph-immediately-when-loading-pvd-files/3860/4 "2020-03-24T01:46:21Z")

</div>

Thank you, I tried it. Both method works!
