[Paraview-developers] Canonical way to preserve plugin settings

Schlottke-Lakemper, Michael m.schlottke-lakemper at aia.rwth-aachen.de
Wed Aug 12 14:39:42 EDT 2015


Hi Cory,

Thanks a lot for the fast reply, I think this will do for now.

Michael

On 10 Aug 2015, at 20:08 , Cory Quammen <cory.quammen at kitware.com<mailto:cory.quammen at kitware.com>> wrote:

Hi Michael,

Please see Chapter 10 "Customizing Defaults" in the ParaView Guide:

http://www.paraview.org/paraview-guide/

Cheers,
Cory

On Mon, Aug 10, 2015 at 2:03 PM, Schlottke-Lakemper, Michael <m.schlottke-lakemper at aia.rwth-aachen.de<mailto:m.schlottke-lakemper at aia.rwth-aachen.de>> wrote:
Hi folks,

Is there a built-in way to preserve settings in a custom reader plugin between multiple ParaView sessions?

Use case: in our custom reader it is possible to select a level-of-detail when visualizing data. By default (in the SM.xml) it is set to a value that will be useful for most users, but occasionally it would be nice to preserve the value between sessions (e.g. if a user is looking at many different files and is always selecting a very low level). Thus it would be nice to preserve some values while it does not make sense for others, and it would be nice to be able to enable/disable this behavior.

If there is no built-in way to achieve this, what would be the “canonical” approach to doing it (e.g. writing a statefile/config file to a default directory)?

Thanks a lot in advance

Michael


--
Michael Schlottke-Lakemper

SimLab Highly Scalable Fluids & Solids Engineering
Jülich Aachen Research Alliance (JARA-HPC)
RWTH Aachen University
Wüllnerstraße 5a
52062 Aachen
Germany

Phone: +49 (241) 80 95188<tel:%2B49%20%28241%29%2080%2095188>
Fax: +49 (241) 80 92257<tel:%2B49%20%28241%29%2080%2092257>
Mail: m.schlottke-lakemper at aia.rwth-aachen.de<mailto:m.schlottke-lakemper at aia.rwth-aachen.de>
Web: http://www.jara.org/jara-hpc


_______________________________________________
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




--
Cory Quammen
R&D Engineer
Kitware, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150812/89d4461e/attachment.html>


More information about the Paraview-developers mailing list