# Unable to add Transform filter via C++ plugin

**URL:** https://discourse.paraview.org/t/unable-to-add-transform-filter-via-c-plugin/14624
**Category:** ParaView Support
**Created:** [May 13, 2024, 7:22pm UTC](https://discourse.paraview.org/t/unable-to-add-transform-filter-via-c-plugin/14624 "2024-05-13T19:22:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Reshm\_R\_S](https://discourse.paraview.org/user_avatar/discourse.paraview.org/reshm_r_s/32/12131_2.png) [@Reshm\_R\_S](https://discourse.paraview.org/u/Reshm_R_S)
#### Post date: [May 13, 2024, 7:22pm UTC](https://discourse.paraview.org/t/unable-to-add-transform-filter-via-c-plugin/14624/1 "2024-05-13T19:22:31Z")

</div>

Hi!  
I want to the add Transform filter to the pipeline browser using my C++ plugin.  
My code statement  
`pqPipelineSource* transformFilterLeft = builder->createFilter("filters", "Transform", source_left, 0);`  
is giving a runtime error:  
`No proxy that matches: group=filters and proxy=Transform were found.`

To solve the issue I tried to refer to  
[https://gitlab.kitware.com/paraview/paraview/-/blob/master/VTKExtensions/FiltersGeneral/Resources/general\_filters.xml](https://gitlab.kitware.com/paraview/paraview/-/blob/master/VTKExtensions/FiltersGeneral/Resources/general_filters.xml)  
for seeing what is acceptable. I did not the paraview filter with a label “Transform” in the above file? Why is that? Am I using the right file?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 14, 2024, 1:08pm UTC](https://discourse.paraview.org/t/unable-to-add-transform-filter-via-c-plugin/14624/2 "2024-05-14T13:08:16Z")

</div>

I see a `Transform` proxy in `extended_sources` in `VTKExtensions/Misc/Resources/misc_utilities.xml` at least.

---

<div class="post-metadata">

### Author: ![Reshm\_R\_S](https://discourse.paraview.org/user_avatar/discourse.paraview.org/reshm_r_s/32/12131_2.png) [@Reshm\_R\_S](https://discourse.paraview.org/u/Reshm_R_S)
#### Post date: [May 14, 2024, 1:10pm UTC](https://discourse.paraview.org/t/unable-to-add-transform-filter-via-c-plugin/14624/3 "2024-05-14T13:10:29Z")

</div>

Thanks for your response! @ben.boeckel  
I saw that too, but I have no clue what **group name** I should use to access that.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [May 14, 2024, 1:16pm UTC](https://discourse.paraview.org/t/unable-to-add-transform-filter-via-c-plugin/14624/4 "2024-05-14T13:16:46Z")

</div>

You want the “TransformFilter” in group “filters”, not “Transform”. You have to use the proxy `name` attribute, not `label` attribute, in the proxy definition file. In this case, you want the `name` defined [here](https://gitlab.kitware.com/paraview/paraview/-/blob/master/Remoting/Application/Resources/filters_filtersgeneral.xml?ref_type=heads#L2128).

You can find the group name in the `name` attribute of the parent `ProxyGroup` XML element. In this case, it is “filters”.

> [@ben.boeckel](#):
>
> I see a `Transform` proxy in `extended_sources` in `VTKExtensions/Misc/Resources/misc_utilities.xml` at least.

This the **type** of transform applied by the **Transform Filter**. It defines a different proxy that you might create and set as the proxy property of the “TransformFilter” also named… “Transform”.

---

<div class="post-metadata">

### Author: ![Reshm\_R\_S](https://discourse.paraview.org/user_avatar/discourse.paraview.org/reshm_r_s/32/12131_2.png) [@Reshm\_R\_S](https://discourse.paraview.org/u/Reshm_R_S)
#### Post date: [May 14, 2024, 1:17pm UTC](https://discourse.paraview.org/t/unable-to-add-transform-filter-via-c-plugin/14624/5 "2024-05-14T13:17:40Z")

</div>

You are amazing! Thanks Cory!
