Customization > Automation Interface > Functions > For System Simulations > Event Functions > GetClassGUID function (automation interface)
  
GetClassGUID function (automation interface)
Syntax:
GetClassGUID
Returns as a string the id of the Class that triggered the current Event.