ParameterAttribute.Name
property · ParameterAttribute · cAlgo.API
DesktopCLICloud
The input parameter name.
Definition
public string Name {get;}
parameterAttribute.Name: str
Returns string
Examples
public partial class ParameterSample : Robot
{
protected override void OnStart()
{
Print("Period: {0}", Period);
}
}
def on_start(self):
api.Print(f"Period: {api.Period}")
{
"AccessRights": "None",
"Parameters": [
{
"Name": "Period",
"DisplayName": "MA Period",
"Type": "Integer",
"DefaultValue": 14
}
]
}