# Adding a plane widget representation in a Paraview web app run in parallel mode

**URL:** https://discourse.paraview.org/t/adding-a-plane-widget-representation-in-a-paraview-web-app-run-in-parallel-mode/15025
**Category:** Web Support
**Created:** [July 9, 2024, 4:53pm UTC](https://discourse.paraview.org/t/adding-a-plane-widget-representation-in-a-paraview-web-app-run-in-parallel-mode/15025 "2024-07-09T16:53:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![scbiradar](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@scbiradar](https://discourse.paraview.org/u/scbiradar)
#### Post date: [July 9, 2024, 4:53pm UTC](https://discourse.paraview.org/t/adding-a-plane-widget-representation-in-a-paraview-web-app-run-in-parallel-mode/15025/1 "2024-07-09T16:53:17Z")

</div>

I am running a paraview web application in parallel (pvbatch with mpi).  
I want to add plane widget representation to a Slice filter (like in paraview desktop)

I am adding an implicit plane widget representation to a paraview proxy object of type Plane  
(SliceType proxy of Slice filter)  
using the ParaviewWebWidgetManager protocol’s createWidgetRepresentation RPC.  
The widget gets rendered to the view as shown below.

 ![pvbatch parallel cut plane widget](https://discourse.paraview.org/uploads/default/original/2X/a/a0c38b17e11734ce54bddd5e70d3a0be4b8e7c59.png)

However, when I try to use “PlaceWidget” on the widget proxy so that I set its bounds according to the input of the Slice filter, the view seems to show the previous and the new representation of the plane widget as shown below.

 ![pvbatch parallel cut plane widget after place widget](https://discourse.paraview.org/uploads/default/original/2X/3/34d0debf833c6d4919dbaecc4244e84b93c0bb1f.png)

After the above step, if I set visibility of the widget proxy to True or False, it affects both the widget representations in the above image.

This problem does not occur if I run my application in serial mode. In serial mode, I am able to create a default widget representation and subsequently able to use PlaceWidget call on the widget proxy without any issues.

Any help or ideas will be greatly appreciated.  
Thanks,  
Santosh

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [August 6, 2024, 4:38pm UTC](https://discourse.paraview.org/t/adding-a-plane-widget-representation-in-a-paraview-web-app-run-in-parallel-mode/15025/2 "2024-08-06T16:38:34Z")

</div>

This is kind of advanced and would need some investigation to really help. If you can’t figure it out on your own, feel free to [reach out to us for support](https://www.kitware.com/contact/advanced-support/).
