[Paraview-developers] Enable 'Show Plane' in Python

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Nov 22 10:18:07 EST 2013


The InvokeEvent is mostly for Qt UI not for ParaViewWeb.

Just change the visibility of the representation of that widget and that's
it.


On Fri, Nov 22, 2013 at 7:53 AM, Albrecht Kyrieleis <akyrieleis at gmail.com>wrote:

> Hi,
>
> this or similar calls don't seem to have any effect in my case.
>
> Did you get the mysourceProxy as
>
> mySourceProxy=FindSource(..)
>
> ?
>
> Which version of ParaviewWeb are you using ?
>
> Have you got a code snippet where this call is embedded ?
>
> Many thanks
>
> kyr.
>
>
>
> On 22 November 2013 15:40, Pat Marion <james.patrick.marion at gmail.com>wrote:
>
>> This has worked for me, not sure if there is a more user friendly api:
>>
>> mySourceProxy.InvokeEvent('UserEvent', 'HideWidget')
>>
>>
>> On Fri, Nov 22, 2013 at 5:12 AM, kyr <akyrieleis at gmail.com> wrote:
>>
>>> In the Paraview GUI from a Plane filter there is the tick box 'Show
>>> Plane'
>>> which enables the display of a red frame around the cut plane and a
>>> bounding
>>> box around the data set.
>>>
>>> I want to enable that using Jetty and ParaviewWeb 4.0. I can show most of
>>> the widget using
>>>
>>> SliceWidget = pwsimple.CreateBindedWidget(Slice2.SliceType, view)
>>>
>>> What is the Python code to enable the 'show Plane' ?
>>>
>>> Many thanks
>>>
>>> k.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/Enable-Show-Plane-in-Python-tp2657.html
>>> Sent from the The Unofficial ParaView Developers Forum mailing list
>>> archive at Nabble.com.
>>> _______________________________________________
>>> Paraview-developers mailing list
>>> Paraview-developers at paraview.org
>>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>
>>
>>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20131122/9f6fd34e/attachment-0001.htm>


More information about the Paraview-developers mailing list