CLIJ Plugin set default parameters

Hi @haesleinhuepf

How do we set the default parameters in a CLIJ plugin? All my parameters are defaulting to 2.

I have a vague recollection that I already asked this question, however I can’t find a topic in the forum or the answer anywhere. I also looked at this example but could not figure it out.

Thanks, and sorry if this is a repeat question

Brian

1 Like

Hi Brian @bnorthan ,

you can overwrite the getDefaultValues method. It’s supposed to return an array with default values for all parameters in the same order as in the getParameterHelpText function:

I think I will setup a document explaining those things in more detail than in the template plugin. Thanks for reminding me :slight_smile:

Cheers,
Robert

1 Like