CimEventActionList.Modify (method)

Modifies the EventAction.
Syntax: object.Modify EventActionDisp
Parameters:
EventActionDisp As CimEventAction - Action object to be modified in the list.
Description: CimEventActionList.Item modifies a CimEventAction in 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
Set eventAction = eventActionList.Item("NEW_EVENT", "NEW_ACTION")
eventAction.LogFlag = False
eventAction.ActionOrder = 1
eventActionList.Modify eventAction