# How to make a selection of another colour?

**URL:** https://discourse.paraview.org/t/how-to-make-a-selection-of-another-colour/14651
**Category:** Development
**Created:** [May 17, 2024, 7:40am UTC](https://discourse.paraview.org/t/how-to-make-a-selection-of-another-colour/14651 "2024-05-17T07:40:25Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [May 17, 2024, 7:40am UTC](https://discourse.paraview.org/t/how-to-make-a-selection-of-another-colour/14651/1 "2024-05-17T07:40:25Z")

</div>

Hello dear Paraview developers!

Now I know how to make a standard paraview selection of purple colour  
But how to make a selection which would look differently sized or coloured?

Best Regards,  
Mike A.

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [May 17, 2024, 7:54am UTC](https://discourse.paraview.org/t/how-to-make-a-selection-of-another-colour/14651/2 "2024-05-17T07:54:00Z")

</div>

Please look at the bottom of the `Find Data` panel. The color is directly available while the size can be found in `Edit label properties`.

---

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [May 17, 2024, 8:03am UTC](https://discourse.paraview.org/t/how-to-make-a-selection-of-another-colour/14651/3 "2024-05-17T08:03:24Z")

</div>

Hello Nicolas  
I mean, programmatically, how to do it

---

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [May 17, 2024, 8:11am UTC](https://discourse.paraview.org/t/how-to-make-a-selection-of-another-colour/14651/4 "2024-05-17T08:11:51Z")

</div>

extraction\_filters.xml dont seem to contain the necessary property

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [May 17, 2024, 9:01am UTC](https://discourse.paraview.org/t/how-to-make-a-selection-of-another-colour/14651/5 "2024-05-17T09:01:15Z")

</div>

Oh, sorry, we are indeed in the Dev category

You have a “settings” proxy named “ColorPalette”, with “SelectionColor” property.

Not sure for the size, but you can look at Qt/Components/pqFindDataSelectionDisplayFrame.cxx, it is were the panel is defined.

---

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [May 17, 2024, 11:04am UTC](https://discourse.paraview.org/t/how-to-make-a-selection-of-another-colour/14651/6 "2024-05-17T11:04:00Z")

</div>

Thanks, it works  
How can I have selections of multiple different colours then?

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [May 21, 2024, 6:09am UTC](https://discourse.paraview.org/t/how-to-make-a-selection-of-another-colour/14651/7 "2024-05-21T06:09:01Z")

</div>

I do not know so much about multi selection, but you should take a look at the pqSelectionEditor class. This is the entry point for multiselection in ParaView GUI.
