# ParaView 5.13.2 applying Lagrangian Particle Tracker from Python script

**URL:** https://discourse.paraview.org/t/paraview-5-13-2-applying-lagrangian-particle-tracker-from-python-script/17222
**Category:** ParaView Support
**Tags:** python
**Created:** [September 30, 2025, 6:55pm UTC](https://discourse.paraview.org/t/paraview-5-13-2-applying-lagrangian-particle-tracker-from-python-script/17222 "2025-09-30T18:55:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Bodie\_Ziertman](https://discourse.paraview.org/user_avatar/discourse.paraview.org/bodie_ziertman/32/17070_2.png) [@Bodie\_Ziertman](https://discourse.paraview.org/u/Bodie_Ziertman)
#### Post date: [September 30, 2025, 6:55pm UTC](https://discourse.paraview.org/t/paraview-5-13-2-applying-lagrangian-particle-tracker-from-python-script/17222/1 "2025-09-30T18:55:09Z")

</div>

Hi,

I would like to create a python script that applies the Lagrangian Particle Tracker filter with my own integration model in such a way that after applying the filter and saving the state with the python script. The filter will be present and editable in the pipeline when using the GUI. Could someone point me towards the right syntax/method to achieve this? Specifically how to register the filter, wire the input ports and set the properties properly? I couldn’t find much documentation on how to do this aside from this method [GitHub - kalagotla/test-cases: tests/scripts from multiple projects](https://github.com/kalagotla/test-cases), however this implementation doesn’t seem to create the filter in a way that is saved to the state file.

Thanks,

---

<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: [October 1, 2025, 8:26am UTC](https://discourse.paraview.org/t/paraview-5-13-2-applying-lagrangian-particle-tracker-from-python-script/17222/2 "2025-10-01T08:26:18Z")

</div>

This blog is the most complete doc: [https://www.kitware.com/vtk-and-paraview-add-highly-configurable-particle-tracker/](https://www.kitware.com/vtk-and-paraview-add-highly-configurable-particle-tracker/) and a state file is available here [LagrangianParticleTracker example file - #5 by alkali](https://discourse.paraview.org/t/lagrangianparticletracker-example-file/571/5)
