CimPointList.Save (method)

Saves the point.
Syntax: object.Save pointDisp, dynamicMode
Parameters:
pointDisp As CimPoint - CimPoint object to add or modify
Optional dynamicMode As VARIANT - Add / Modify Dynamically
Description: CimPointList.Save is used to modify or add a new point to a project. Note : If adding the point dynamically you must specify a user name and password and place the CimProject object in dynamic mode.

Examples

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")
point.ResourceID = "MY_RES"
points.Save point, False