Customization > Automation Interface > Functions > For System Simulations > Event Functions > SetParameterCount function (automation interface)
  
SetParameterCount function (automation interface)
Syntax:
SetParameterCount(<number of parameters>)
Where:
<number of parameters> is a numeric value that specifies the number of parameters being passed with an injected event.
This function specifies how many parameters the injected event has. This function returns a Boolean value to indicate success or failure.
* 
Use the SetParameter function to specify the value of each parameter.
Examples
SetParameterCount(3)