[Paraview] screenshoots of multiple views from python

flyaway1212 at gmail.com flyaway1212 at gmail.com
Thu Aug 12 19:08:28 EDT 2010



On 08/12/2010 04:56 PM, David Doria wrote:
> On Thu, Aug 12, 2010 at 6:48 PM,<flyaway1212 at gmail.com>  wrote:
>> Hi all.
>> I know I can save all views from File/Save Screenshot, but how do I do that
>> using a python script? I've tried checking how it works using the Trace
>> feature in Python shell, but it only shows saving views separately, not all
>> in one screenshot. I have to generate a lot of images from a script so doing
>> it manually through the menu is not an option.
>> I will appreciate any hints.
>>
>> Sincerely,
>> Victor Prosolin.
>
> Is this what you're looking for?
>
> http://www.paraview.org/Wiki/Take_a_Screenshot_of_a_VTP_File
>
> David

That is what I currently can do. What I need is to save two (or more) 
separate views in one screenshot. It can be done via "File/Save 
Screenshot" by unchecking "Save only selected view" option, but I need 
to do it in a script.

Victor.


More information about the ParaView mailing list