# get all cells using a certain point id

**URL:** https://discourse.paraview.org/t/get-all-cells-using-a-certain-point-id/4371
**Category:** ParaView Support
**Created:** [May 20, 2020, 2:41am UTC](https://discourse.paraview.org/t/get-all-cells-using-a-certain-point-id/4371 "2020-05-20T02:41:44Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![boonth](https://discourse.paraview.org/user_avatar/discourse.paraview.org/boonth/32/4763_2.png) [@boonth](https://discourse.paraview.org/u/boonth)
#### Post date: [May 20, 2020, 9:42pm UTC](https://discourse.paraview.org/t/get-all-cells-using-a-certain-point-id/4371/7 "2020-05-20T21:42:05Z")

</div>

If anyone is interested, here is the script I came up with. It will create a filter that lets you list one or more point ids, then take any cell using those points, and extracts those cells into a new grid.

[getCellFromPoints.py](https://discourse.paraview.org/uploads/short-url/gBMcCiFfdW94VkRKf7Z5RPUVdXF.py) (4.7 KB)

---

_[View the full topic](https://discourse.paraview.org/t/get-all-cells-using-a-certain-point-id/4371)._
