# Adding an Observer to cell selections in a RenderView

**URL:** https://discourse.paraview.org/t/adding-an-observer-to-cell-selections-in-a-renderview/16200
**Category:** ParaView Support
**Created:** [February 20, 2025, 10:08am UTC](https://discourse.paraview.org/t/adding-an-observer-to-cell-selections-in-a-renderview/16200 "2025-02-20T10:08:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sherin.sugathan](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sherin.sugathan/32/15264_2.png) [@sherin.sugathan](https://discourse.paraview.org/u/sherin.sugathan)
#### Post date: [February 20, 2025, 10:08am UTC](https://discourse.paraview.org/t/adding-an-observer-to-cell-selections-in-a-renderview/16200/1 "2025-02-20T10:08:17Z")

</div>

Dear Support!  
I’m working on developing a C++ plugin for ParaView. I need some code to automatically trigger as soon as the user completes a cell selection on a mesh using ‘Select Cells On’ in a RenderView. Any pointers on the right approach or what the solution might look like? Suggestions on relevant classes or concepts would be super helpful!

---

<div class="post-metadata">

### Author: ![sherin.sugathan](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sherin.sugathan/32/15264_2.png) [@sherin.sugathan](https://discourse.paraview.org/u/sherin.sugathan)
#### Post date: [February 20, 2025, 3:32pm UTC](https://discourse.paraview.org/t/adding-an-observer-to-cell-selections-in-a-renderview/16200/2 "2025-02-20T15:32:45Z")

</div>

I came across the **pqSelectionManager** class and I amm planning to use its selectionChanged signal to track selection changes. I hope it is the right way to do it. 🙂
