# paraview.simple.SelectCells sellect multiple cell

**URL:** https://discourse.paraview.org/t/paraview-simple-selectcells-sellect-multiple-cell/4153
**Category:** ParaView Support
**Tags:** python
**Created:** [April 23, 2020, 1:42am UTC](https://discourse.paraview.org/t/paraview-simple-selectcells-sellect-multiple-cell/4153 "2020-04-23T01:42:59Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [April 23, 2020, 1:47am UTC](https://discourse.paraview.org/t/paraview-simple-selectcells-sellect-multiple-cell/4153/2 "2020-04-23T01:47:41Z")

</div>

The following should work:

```python
# create a query selection
paraview.simple.QuerySelect(QueryString='((id == 1) | (id == 2) | (id == 3))', FieldType='CELL')

```

The easiest way to figure this out is to use the Python tracing capabilities: Tools \> Start Trace, check **Show Incremental Trace** in the **Trace Options** dialog, and then use the Find Data dialog to do the query.

---

_[View the full topic](https://discourse.paraview.org/t/paraview-simple-selectcells-sellect-multiple-cell/4153)._
