[Paraview-developers] [EXTERNAL] Re: pvbatch fails with annotated colors.

Scott, W Alan wascott at sandia.gov
Tue Sep 20 16:04:16 EDT 2016


Shawn.

Image dimensions changing is a known “feature”, not a bug.  It is resolved by finding the line that sets the view size, and uncommenting it for pvbatch.

The root cause of the problem is that in batch mode, PV is trying to color with a normal color map, rather than annotate colors.  I wrote up a bug.

Alan



From: Shawn Waldon [mailto:shawn.waldon at kitware.com]
Sent: Tuesday, September 20, 2016 1:23 PM
To: Scott, W Alan <wascott at sandia.gov>
Cc: paraview-developers at paraview.org
Subject: Re: [EXTERNAL] Re: [Paraview-developers] pvbatch fails with annotated colors.

Hi Alan,
Unfortunately my change didn't affect this.  I can reproduce it on the master branch.  Also, it seems that the image dimensions of the screenshot are different when run in pvbatch.  And the label of the color legend is different when not run directly by the user.  For some reason it is labeled 'vtkBlockColors Magnitude' when the script is run, even from the python shell.
Shawn

On Tue, Sep 20, 2016 at 3:14 PM, Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov>> wrote:
5.1.2, Kitware binaries.  Sorry, I should have said that.





From: Shawn Waldon [mailto:shawn.waldon at kitware.com<mailto:shawn.waldon at kitware.com>]
Sent: Tuesday, September 20, 2016 1:12 PM
To: Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov>>
Cc: paraview-developers at paraview.org<mailto:paraview-developers at paraview.org>
Subject: [EXTERNAL] Re: [Paraview-developers] pvbatch fails with annotated colors.

Hi Alan,
What version of ParaView is he using?  I made a change related to tracing color maps last week and it may have affected this.  I will try it locally with ParaView master and see what happens.
Shawn

On Tue, Sep 20, 2016 at 3:08 PM, Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov>> wrote:
I have a user that is trying to batch process numerous datasets.  He is doing the following:

•         Paraview, Linux, local server.

•         Trace recorder on.

•         Open bake.e.  All vars on (probably not needed).  Apply.

•         Save Screenshot.

•         Trace recorder off.  Save the trace (not as Macro).

•         Reset Session

•         Open, then delete Screenshot created earlier.

•         Tools/ Python Shell.  Run the saved trace.

•         >>>> This works.

•         Open, then delete Screenshot created earlier.

•         pvbatch trace from earlier.

•         >>>> This does not work.  Annotated colors have been replaced with the default color map.

This is impacting a user.

Alan

--------------------------------------------------------
W. Alan Scott
ParaView Support Manager

SAIC
Sandia National Laboratories, MS 0822
Org 9326 - Building 880 A1-K
(505) 284-0932<tel:%28505%29%20284-0932>   FAX (505) 284-5619<tel:%28505%29%20284-5619>
---------------------------------------------------------


_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

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

Search the list archives at: http://markmail.org/search/?q=Paraview-developers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview-developers


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160920/707fd8ea/attachment-0001.html>


More information about the Paraview-developers mailing list