CimPointList.Item (read-only property)

Retrieve a point by name.
Syntax: Set CimPoint = object.Item ( pointID )
pointID As String - The name of the point to retrieve from the point list.
Description: CimPointList.Item returns a CimPoint by name. Use this method to obtain a CimPoint object for an existing point in the project.


Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim points as CimPointList
set points = project.points
Dim point as CimPoint
set point = points.Item("GEF_DEMO_COS")