# Set the center and radius of Point Source streamtracer through the python shell

**URL:** https://discourse.paraview.org/t/set-the-center-and-radius-of-point-source-streamtracer-through-the-python-shell/3466
**Category:** ParaView Support
**Created:** [January 30, 2020, 5:40pm UTC](https://discourse.paraview.org/t/set-the-center-and-radius-of-point-source-streamtracer-through-the-python-shell/3466 "2020-01-30T17:40:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Xabier\_Morales\_Ferez](https://discourse.paraview.org/user_avatar/discourse.paraview.org/xabier_morales_ferez/32/2890_2.png) [@Xabier\_Morales\_Ferez](https://discourse.paraview.org/u/Xabier_Morales_Ferez)
#### Post date: [January 30, 2020, 5:40pm UTC](https://discourse.paraview.org/t/set-the-center-and-radius-of-point-source-streamtracer-through-the-python-shell/3466/1 "2020-01-30T17:40:38Z")

</div>

Hi!  
I’m working with a big dataset of similar geometries and I would like to auotmatically set the Point source streamlines on the same positions automatically, through a tracer. I would like to know if it is possible to set the center and radius of the Streamtracer through the python shell. I have been looking at all the documentation about the streamtracer function but so far I can only change these parameters through the GUI interface.

Thanks befoerhand!!

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [January 30, 2020, 6:36pm UTC](https://discourse.paraview.org/t/set-the-center-and-radius-of-point-source-streamtracer-through-the-python-shell/3466/2 "2020-01-30T18:36:48Z")

</div>

The following python code is the basic idea:

```python
streamTracer1 = GetActiveSource()
streamTracer1.SeedType = 'Point Source'
streamTracer1.SeedType.Center = [1.1, 1.5, 2.1]
streamTracer1.SeedType.Radius = 3.5

```

Of course, change the numbers to your desired center and radius.

---

<div class="post-metadata">

### Author: ![Xabier\_Morales\_Ferez](https://discourse.paraview.org/user_avatar/discourse.paraview.org/xabier_morales_ferez/32/2890_2.png) [@Xabier\_Morales\_Ferez](https://discourse.paraview.org/u/Xabier_Morales_Ferez)
#### Post date: [January 31, 2020, 9:33am UTC](https://discourse.paraview.org/t/set-the-center-and-radius-of-point-source-streamtracer-through-the-python-shell/3466/3 "2020-01-31T09:33:03Z")

</div>

Thank you very much for your fast reply!! It works as intended.
