# using "find data" aka "extract selection" with python scripting

**URL:** https://discourse.paraview.org/t/using-find-data-aka-extract-selection-with-python-scripting/562
**Category:** ParaView Support
**Tags:** python
**Created:** [September 12, 2018, 9:41am UTC](https://discourse.paraview.org/t/using-find-data-aka-extract-selection-with-python-scripting/562 "2018-09-12T09:41:59Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![theodorebaltis](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e480ec/32.png) [@theodorebaltis](https://discourse.paraview.org/u/theodorebaltis)
#### Post date: [January 14, 2021, 3:33am UTC](https://discourse.paraview.org/t/using-find-data-aka-extract-selection-with-python-scripting/562/8 "2021-01-14T03:33:07Z")

</div>

I posted about this recently myself (I searched but did find this thread):  
[https://discourse.paraview.org/t/query-selection-not-captured-in-python-state-file/6182](https://discourse.paraview.org/t/query-selection-not-captured-in-python-state-file/6182)

But I was able to figure out the code needed because I found out that the query selection **is** caught by an incremental trace.

I was using 5.9.0 RC3.

---

_[View the full topic](https://discourse.paraview.org/t/using-find-data-aka-extract-selection-with-python-scripting/562)._
