<div dir="ltr">Alas, indeed. Just as I thought I was starting to understand what's going on. Was I just misled because there is a trace output that has this in it?<br><br><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"># get layout<br>layout1 = GetLayoutByName("Layout #1")<br># split cell<br>layout1.SplitHorizontal(0, 0.5)</blockquote><div><br></div>Without layout support, can I use pvpython to present two render views and link them with a camera link? Can you suggest what direction might succeed? <div><br></div><div>You may have suggested this already, but I'm not sure the hint about <span style="font-size:12.8px">view.GetRenderWindow().</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">SetPosition(x, y) is enough for me. I don't really get how that's a way forward. What are you suggesting I use that function to do? </span></div><div><span style="font-size:12.8px"><br></span><div><div><div>Thanks,</div><div><br></div><div> -Tom</div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 11, 2018 at 3:04 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tom,<br>
<br>
Alas, there's no layout support in pvpython. There indeed is a layout proxy<br>
(vtkSMLayoutProxy), but they rely on the Qt ParaView components to layout<br>
the windows. The proxy itself is the "model", if you will. And it works<br>
when you execute the layout related updates in the Python shell in the<br>
ParaView UI.<br>
<br>
A clumpsy way to set a window's position in Python is:<br>
> view.GetRenderWindow().<wbr>SetPosition(x, y)<br>
<br>
You can use that to lay out the windows, short of doing something more<br>
elaborate with a GUI library.<br>
<br>
Utkarsh<br>
<br>
<br>
<br>
<br>
On Fri, May 11, 2018 at 2:34 PM Sgouros, Thomas <<a href="mailto:thomas_sgouros@brown.edu">thomas_sgouros@brown.edu</a>><br>
wrote:<br>
<div><div class="h5"><br>
> Hi All:<br>
<br>
> I've become accustomed to throwing around render view objects in<br>
pvpython, swapping them in and out of the view with simple.Show() and<br>
simple.Hide(). Now I have to learn about layout objects. Can someone<br>
suggest the best way to think about these? Are they containers into which I<br>
can drop one or more render views and move them around, or are they more<br>
like molds into which I can pour a render view and then use the layout as<br>
handles with which to manipulate the views?<br>
<br>
> Where can I find a list of the methods of a layout object? Or would it be<br>
better to call it a layout proxy?<br>
<br>
> Thank you,<br>
<br>
> -Tom<br>
</div></div>> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
> Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
<a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>