Updating Python Framework Parameter from the plugin code
Posted: Thursday 14 February 2019 12:01
When using Python Plugin Framework, we have access to a number of Parameters.
Those can be read in the plugin code using Parameters["Mode6"], however the plugin code cannot update the value, or at least it is not written in the DB.
So next time when you come back to the HW Plugin Page you get the initial value.
Would it be possible to have an Update API for the Framework Parameter ? At least for Mode1 to Mode6 ?
Else, if not possible could we have a different type of Parameter, which automatically is reset to its default value.
In other word, I would like to have Mode5 always set to False. If I set it to True , then it is True only for this session, and then it will automatically fall back to False
Those can be read in the plugin code using Parameters["Mode6"], however the plugin code cannot update the value, or at least it is not written in the DB.
So next time when you come back to the HW Plugin Page you get the initial value.
Would it be possible to have an Update API for the Framework Parameter ? At least for Mode1 to Mode6 ?
Else, if not possible could we have a different type of Parameter, which automatically is reset to its default value.
In other word, I would like to have Mode5 always set to False. If I set it to True , then it is True only for this session, and then it will automatically fall back to False