CimActionList.Item (read-only property)

Gets the Action by name.
Syntax: Set CimAction = object.Item ( ActionID )
ActionID As String - Name of the action to be retrieved.
Description: CimActionList.Item returns a CimAction by name. Use this method to obtain a CimAction object for an existing action in the project.


Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim actionList as CimActionList
set actionList = project.actions
Dim action as CimAction
set action = actionList.Item("EXISTING_ACTION_ID")