# 5.6.0 : Add Slice Origin(0) info to renderview.

**URL:** https://discourse.paraview.org/t/5-6-0-add-slice-origin-0-info-to-renderview/6315
**Category:** ParaView Support
**Created:** [January 27, 2021, 5:45pm UTC](https://discourse.paraview.org/t/5-6-0-add-slice-origin-0-info-to-renderview/6315 "2021-01-27T17:45:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![BB\_UK](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/4bbf92/32.png) [@BB\_UK](https://discourse.paraview.org/u/BB_UK)
#### Post date: [January 27, 2021, 5:45pm UTC](https://discourse.paraview.org/t/5-6-0-add-slice-origin-0-info-to-renderview/6315/1 "2021-01-27T17:45:04Z")

</div>

ParaView 5.6.0  
Am generating slice views of a model and saving those as a video file.  
I add the Slice Origin(0) parameter to the animation panel so the slice moves through the model.  
I would like to add text to the animation frames that shows the current Slice Origin(0) xposition, but I cannot figure out how to do this, even if it is possible.  
Any help most appreciated.

Bob.

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [January 28, 2021, 8:16am UTC](https://discourse.paraview.org/t/5-6-0-add-slice-origin-0-info-to-renderview/6315/2 "2021-01-28T08:16:08Z")

</div>

You can use a ‘Python Cue’ in the animation view (see [this](https://discourse.paraview.org/t/animation-via-python-script/5771) for instance).

1. Create a ‘Text’ Source
2. Create a python Cue
3. Edit python cue and fill `tick()` method with something like that:

```auto
  t = FindSource("Text1")
  s = FindSource("Slice1")
  t.Text = str(s.SliceType.Origin[0])

```

---

<div class="post-metadata">

### Author: ![BB\_UK](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/4bbf92/32.png) [@BB\_UK](https://discourse.paraview.org/u/BB_UK)
#### Post date: [January 28, 2021, 11:09pm UTC](https://discourse.paraview.org/t/5-6-0-add-slice-origin-0-info-to-renderview/6315/3 "2021-01-28T23:09:26Z")

</div>

Hi Nicolas, thanks for the pointer. What a good excuse to get back into Python.  
Cheers,  
Bob.
