Activating/deactivating parameters

Hi,
I’m looking for days how to have different parameters depending of the objects/class/view i draw.
Is it possible or do I have to start with all of them and to change values at each object/class/view i call?
Thanks

@Burobox You can use parameter.clear() to clear the parameters, then redisplay the new parameters you want.