CimClassInstance.Scripts (read-only property)

Gets the Class Script List Object.
Syntax: Set CimClassScriptList = object.Scripts
Description: The CimClassInstance.Scripts property is read-only and returns a collection object that is used to add, modify and delete scripts for the class instance.

Example

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim obj as CimObjectInstance
set obj = project.Objects.Item("TANK_PID")
Dim actions as CimClassActionList
actions = obj.Scripts