<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Madalena S. Malhadas wrote:<br>
    </div>
    <blockquote cite="mid:DUB109-W942210D77481AE299E46E6DF100@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr"><br>
        Dear all,
        <div>I have a script that animate two views in same layout. The
          Scritp run fine, but apears to have a problem saving one
          single image formed by the 2 views.</div>
        <div><br>
        </div>
        <div>I made a simple test by running the trace in paraview,
          creating and saving to views. Follow the example below and the
          output attached. The example compose the 2 views but produces
          also a black square in corner. Any one know to solve the
          problem?</div>
        <div><br>
        </div>
        <div>Kind regards</div>
      </div>
    </blockquote>
    I have done this with PV 4.1. Split the screen and organize the two
    views,click on the animate icon, unclick "save selected view" ,<br>
    should work.<br>
    <br>
    Is there a reason why you write a new script?<br>
    Stephen<br>
    <blockquote cite="mid:DUB109-W942210D77481AE299E46E6DF100@phx.gbl"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>--------------------------------------------------script
example-------------------------------------------------------------------</div>
        <div><br>
        </div>
        <div>
          <div># get active view</div>
          <div>renderView1 = GetActiveViewOrCreate('RenderView')</div>
          <div><br>
          </div>
          <div># get layout</div>
          <div>viewLayout1 = GetLayout()</div>
          <div><br>
          </div>
          <div># split cell</div>
          <div>viewLayout1.SplitVertical(0, 0.5)</div>
          <div><br>
          </div>
          <div># Create a new 'Render View'</div>
          <div>renderView2 = CreateView('RenderView')</div>
          <div>renderView2.ViewSize = [1156, 383]</div>
          <div>renderView2.StereoType = 0</div>
          <div>renderView2.Background = [0.32, 0.34, 0.43]</div>
          <div><br>
          </div>
          <div>renderView1 = GetRenderView()</div>
          <div>renderView2 = GetRenderViews()[1]</div>
          <div><br>
          </div>
          <div># current camera placement for renderView1</div>
          <div><br>
          </div>
          <div># current camera placement for renderView2</div>
          <div><br>
          </div>
          <div># current camera placement for renderView2</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>SaveAnimation
            ('C:/Users/madalenasantos/Desktop/Paraview/Teste.jpg',
            layout=viewLayout1)</div>
          <div><br>
          </div>
          <div>-------------------------------------------------------------------------------------------------------------------------------------------</div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=ParaView">http://markmail.org/search/?q=ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-abbreviated" href="mailto:stephen.wornom@inria.fr">stephen.wornom@inria.fr</a>
2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX
                
Tel: 04 92 38 50 54
Fax: 04 97 15 53 51
</pre>
  </body>
</html>