# Problem Use value from Programmable filter in trace

**URL:** https://discourse.paraview.org/t/problem-use-value-from-programmable-filter-in-trace/3289
**Category:** ParaView Support
**Tags:** vtk
**Created:** [January 8, 2020, 10:14am UTC](https://discourse.paraview.org/t/problem-use-value-from-programmable-filter-in-trace/3289 "2020-01-08T10:14:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dolesch](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/dfb087/32.png) [@dolesch](https://discourse.paraview.org/u/dolesch)
#### Post date: [January 8, 2020, 10:14am UTC](https://discourse.paraview.org/t/problem-use-value-from-programmable-filter-in-trace/3289/1 "2020-01-08T10:14:16Z")

</div>

Hi all,

is there a way to use a value computed with a programmable filter within a trace. As a kind of a return value.

Thanks in advance

Darius

---

<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: [January 8, 2020, 10:16am UTC](https://discourse.paraview.org/t/problem-use-value-from-programmable-filter-in-trace/3289/2 "2020-01-08T10:16:59Z")

</div>

Not sure to follow here, can you elaborate.

---

<div class="post-metadata">

### Author: ![dolesch](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/dfb087/32.png) [@dolesch](https://discourse.paraview.org/u/dolesch)
#### Post date: [January 8, 2020, 11:04am UTC](https://discourse.paraview.org/t/problem-use-value-from-programmable-filter-in-trace/3289/3 "2020-01-08T11:04:16Z")

</div>

I’d like to calculate a scalar value with the help of a programmable filter inside of a trace/macro script, in order to scale a Glyph object, that is created in the “outer” trace/macro script after the programmableFilter-object.

It may seem as an obnoxious workaround, since I did not find a way to fetch DataArrays in the trace/macro script, without using a ProgrammableFilter.
