# Add programmable source to the "Measurement Tools" group

**URL:** https://discourse.paraview.org/t/add-programmable-source-to-the-measurement-tools-group/9552
**Category:** ParaView Support
**Created:** [May 2, 2022, 3:07pm UTC](https://discourse.paraview.org/t/add-programmable-source-to-the-measurement-tools-group/9552 "2022-05-02T15:07:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [May 2, 2022, 3:07pm UTC](https://discourse.paraview.org/t/add-programmable-source-to-the-measurement-tools-group/9552/1 "2022-05-02T15:07:15Z")

</div>

Hello,

I usually use the following XML hint to add a programmable source to a certain group in the Sources drop down list:

`<ShowInMenu category="Measurement Tools"/>`

However, for the case of the “Measurement Tools”, it creates another duplicated group as shown below:

![Sources](https://discourse.paraview.org/uploads/default/original/2X/7/70176dd852546aba3946458916ca513871a75c2e.png)

I noticed that the “M” is underlined in the original group name but not in the group that I just created. There is a way to modify this hint to include the underline?

Thanks in advance

Miguel

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 2, 2022, 3:08pm UTC](https://discourse.paraview.org/t/add-programmable-source-to-the-measurement-tools-group/9552/2 "2022-05-02T15:08:52Z")

</div>

Maybe try this:

```auto
"&amp;Measurement Tools"

```

---

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [May 3, 2022, 6:35am UTC](https://discourse.paraview.org/t/add-programmable-source-to-the-measurement-tools-group/9552/3 "2022-05-03T06:35:31Z")

</div>

Hello,

Thanks for the answer. The `&amp;` code created the underline but now I have two identical groups with the M underlined:

![BBB](https://discourse.paraview.org/uploads/default/original/2X/8/8fff379a7c4fd0dddd8d881fb1a327c9dcef048b.png)

It seems that the original group do not allow including extra elements. Any idea of what could be happening?

_PS: The same behaviour occurs in several ParaView versions; I’m currently using PV5.10.0_

Thanks again

Miguel

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 3, 2022, 6:44am UTC](https://discourse.paraview.org/t/add-programmable-source-to-the-measurement-tools-group/9552/4 "2022-05-03T06:44:40Z")

</div>

Could you share a simple .xml to reproduce the issue ?

---

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [May 3, 2022, 7:35am UTC](https://discourse.paraview.org/t/add-programmable-source-to-the-measurement-tools-group/9552/5 "2022-05-03T07:35:48Z")

</div>

Hello,

Please, find in the attached file a simple XML source  
[TEST\_SOURCE.xml](https://discourse.paraview.org/uploads/short-url/njf0YzRrtNQ5NpqK6uCUssqpCu4.xml) (952 Bytes)

Thanks

Miguel
