How to create a component with input simplified by default

Hi I am creating a grasshopper library and wanted to set the default for one of the input parameters as simplified when user drops the component on canvas
How should I go about this ?

image

Surely by writing something like that
image
0 here is to be changed by 1 if it is the second parameter

2 Likes

Many thanks @laurent_delrieu