ParameterAttribute.MinValue
property · ParameterAttribute · cAlgo.API
DesktopCLICloud
Gets or sets the minimum value of this Parameter property. It is used for validating user input.
Definition
public object MinValue {get; set;}
parameterAttribute.MinValue: object
Returns object
Examples
public partial class ParameterSample : Robot
{
protected override void OnStart()
{
Print("Periods: {0}", Periods);
}
}
def on_start(self):
api.Print(f"Periods: {api.Periods}")
{
"AccessRights": "None",
"Parameters": [
{
"Name": "Periods",
"Type": "Integer",
"DefaultValue": 14,
"MinValue": 5
}
]
}