RadioButton¶
The value types RadioGroup and RadioButton ares used to create radio buttons.
Syntax¶
The value of the RadioButton can be an integer, float or string value. A combination of these value types within a RadioGroup is possible:
The <Parameter> node with the value type RadioGroup groups the child <Parameter> nodes with the type RadioButton and is the value holder for the value of the selected radio button.
Within the PythonPart script (py-file), the selected value is then also accessed via this parameter.
Optional tags¶
Sometimes it’s useful to disable or hide the radio button depending on the value of another parameter. This is achieved by adding additional tags to the parameter or by defining functions in the py-file. See Enable and visible options
Example¶
The implementation of the RadioGroup value type is described in the example RadioButtons, which is located in