Customization > Automation Interface > Functions > For System Simulations > Event Functions > SetParameter function (automation interface)
SetParameter function (automation interface)
Syntax:
SetParameter(<parameter number>,"<parameter value>")
Where:
<parameter number> is a numeric value that identifies the parameter. The first parameter is 0, second parameter is 1, and so on.
<parameter value> is a string that specifies the value of the parameter.
This function sets the value of a parameter for an injected event. This function returns a Boolean value to indicate success or failure.
* 
Use the SetParameterCount function to specify the number of parameters an injected event has.
Examples
SetParameter(3,"14")