Hello, I figured out my problem. I declared the "ViewSize" and the "ViewPosition" at the wrong place. I had to declare them right after "createRenderView()" and it is working fine now.
Thank you again Pradeep On 30 mai 2013, at 16:38, Pradeep Jha <[email protected]> wrote: > hello, > > the thing that you proposed seems to be working only for the size of 400 by > 400. I tried other dimensions and it is not giving me the expect results. I > have attached the obtained figure and the macro with this email. Can you > please tell me what am I doing wrong?<test.jpg><test.py><test.xmf> > > On 30 mai 2013, at 04:19, Utkarsh Ayachit <[email protected]> wrote: > >> Look at the attached sample script. You basically need to set the >> ViewSize and ViewPosition properties for all the views correctly to >> lay the views out as desired. >> >> Utkarsh >> >> On Wed, May 29, 2013 at 12:37 PM, Pradeep Jha >> <[email protected]> wrote: >>> Can anyone please suggest me any solutions for this problem? >>> >>> Thank you >>> >>> >>> 2013/5/29 Pradeep Jha <[email protected]> >>>> >>>> Hello, >>>> >>>> I have created a macro using the "start/stop trace" feature of PV GUI. I >>>> am trying to create a movie with two animations side by side, each with a >>>> different camera movement. This macro gives me what I want when I run it >>>> with PV GUI but when I run it using pvbatch on command line, it only gives >>>> me as ouput the png files for one view. >>>> >>>> What can I do? I have attached the macro with this email. >>>> >>>> Thanks >>>> Pradeep >>> >>> >>> >>> _______________________________________________ >>> 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 >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.paraview.org/mailman/listinfo/paraview >>> >> <foo.py> > _______________________________________________ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
