# Cell Selection with Python

**URL:** https://discourse.paraview.org/t/cell-selection-with-python/8964
**Category:** ParaView Support
**Tags:** python
**Created:** [February 13, 2022, 6:00pm UTC](https://discourse.paraview.org/t/cell-selection-with-python/8964 "2022-02-13T18:00:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![limpideyes](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/f475e1/32.png) [@limpideyes](https://discourse.paraview.org/u/limpideyes)
#### Post date: [February 13, 2022, 6:00pm UTC](https://discourse.paraview.org/t/cell-selection-with-python/8964/1 "2022-02-13T18:00:00Z")

</div>

Hello,

I trying to select cells by python. I manually selected cells with the selection tools, ‘select cells on (s)’:

 ![cell selection](https://discourse.paraview.org/uploads/default/original/2X/8/80afe548b259ca26b43e90b548d953401f2005ef.jpeg)

When I traced the python script, it was shown as:

SelectSurfaceCells(Rectangle=[675, 749, 1356, 1196], Modifier=None)

My questions is:  
What does 675, 749, 1356, 1196 stand for?  
These are neither cell IDs nor point coordinates.

Please help.

---

<div class="post-metadata">

### Author: ![pavel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/pavel/32/8287_2.png) [@pavel](https://discourse.paraview.org/u/pavel)
#### Post date: [February 13, 2022, 7:47pm UTC](https://discourse.paraview.org/t/cell-selection-with-python/8964/3 "2022-02-13T19:47:31Z")

</div>

([selection Module — ParaView/Python 5.10.0 documentation](https://kitware.github.io/paraview-docs/latest/python/paraview.selection.html)):

Rectangle - list containing bottom left (x1, y1) and top right (x2, y2) corner of a rectangle defining the selection region in the format [x1, y1, x2, y2]. Defined in **pixels**
