Save parameters as config object

Karthik
Fri, 17 Dec 2021 01:36:59 +0000
Development

Hi.
I have written a scripted module which has some parameters in the form of sliderwidgets. Currently, I am saving these as .cfg file through the code and reading them next time the same module is instantiated. I was wondering if Slicer has a way to save the current state (values) of these parameters which can then be loaded back and the values would be restored. I know that we can save the mrml scene, but I only want to save the parameter values. Is this possible?

5 posts - 3 participants