CimEventActionList.Add (method)

Adds the EventAction.
Syntax: object.Add EventActionDisp
Parameters:
EventActionDisp As CimEventAction - EventAction object to be added to the list.
Description: CimEventActionList.Add adds a CimEventAction to the project.

Examples

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim eventActionList as CimEventActionList
set eventActionList = project.EventActions
Dim eventAction as CimEventAction
eventAction.eventID = "EXISTING_EVENT_ID"
eventAction.actionID = "EXISTING_ACTION_ID"
eventActionList.Add eventAction