You should set the viewId to the VtkRenderer based on which view from the
server you want to be bound to.
To retrieve the view Id on the server side, just call on the python side.

view.GetGlobalDAsString()

I may have small typo for the method name, but in either case the number
you want is the "GlobalID".

HTH,

Seb

On Fri, May 11, 2018 at 4:47 PM Sgouros, Thomas <thomas_sgou...@brown.edu>
wrote:

> Hi All:
>
> I have a ParaViewWeb application going with a pvpython back end, and it
> looks great. I want to show views of multiple datasets in it now. I gather
> that the layout() methods are not supported in pvpython, so I have to use
> separate windows.
>
> I'm creating the render window on the client with this:
>
> const renderer = VtkRenderer.newInstance({ client: model.pvwClient });
>
> I can certainly create two such renderer objects, but I don't see how to
> link the Render on my pvpython server to one or the other of the client's
> renderer objects.
>
> I assume I've been using some default behavior where my Show() and
> Update() commands get sent to the one renderer, but how do I direct them to
> one or the other?
>
> Thank you,
>
>  -Tom
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview

Reply via email to