Customization > Automation Interface > Functions > For System Simulations > Event Functions > GetEventHSTM function (automation interface)
  
GetEventHSTM function (automation interface)
Syntax:
GetEventHSTM
Returns the state machine handle for the current system simulation event. The handler is returned as a long.
* 
If you want to inject an event, you must specify the handler for that system simulation event.