[Paraview] PV 4.2.0 custom site settings
Scott, W Alan
wascott at sandia.gov
Thu Oct 2 15:18:56 EDT 2014
I found notes to myself, that I wrote when I was testing this new feature, from last July. However, we do need this documented, since there are many, many settings that a user can create defaults for.
Here are my notes:
- Install ParaView in some directory $INSTALL
- Delete $HOME/.config/ParaView directory
- Launch paraview (local server)
- Edit -> Settings...
- Click on gear icon to enable advanced settings
- Click on Render View tab
- Enter search text "Off". See that offscreen rendering is not enabled
- Quit ParaView
- Create a file $INSTALL/share/paraview4.1/ParaView-SiteSettings.json with the content
{
"settings" : {
"RenderViewSettings" : {
"UseOffscreenRenderingForScreenshots" : 1
}
}
}
- Launch paraview
- Edit -> Settings...
- Click on Render View tab
- Enter search text "Off". See that offscreen rendering is now enabled
- Remove search text
- Click on General tab
- Enable "Automatically convert data arrays as needed..."
- Click OK in settings dialog box
- Quit ParaView
- View file $HOME/.config/ParaView/ParaView-UserSettings.json
- It should have the contents
{
"settings" : {
"GeneralSettings" : {
"AutoConvertProperties" : 1
},
"RenderViewSettings" : {
"UseOffscreenRenderingForScreenshots" : 1
}
}
}
Note that you can also define the environment variable PV_SETTINGS_DEBUG to view the directories where the settings are being searched.
Alan
From: Moreland, Kenneth
Sent: Thursday, October 02, 2014 1:13 PM
To: Scott, W Alan; paraview at paraview.org
Subject: Re: [Paraview] PV 4.2.0 custom site settings
I see some hints about it in this bug report: http://www.paraview.org/Bug/view.php?id=13575
It looks like there is a Wiki page that is supposed to talk about user- and site-specific settings (http://www.paraview.org/Wiki/ParaView_Settings_Files), but it looks to be quite a bit out of date. Someone should probably update this information. (One, two, three, not it!)
-Ken
From: <Scott>, Walter Scott <wascott at sandia.gov<mailto:wascott at sandia.gov>>
Date: Thursday, October 2, 2014 at 1:02 PM
To: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] PV 4.2.0 custom site settings
I am trying to set default offscreen rendering in ParaView for my site. Where is this new functionality located? Where is it documented?
Thanks,
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20141002/0ca258fb/attachment-0001.html>
More information about the ParaView
mailing list