CimObjectList.Save (method)

Saves the object.
Syntax: object.Save objectDisp, dynamicMode
Parameters:
objectDisp As CimObjectInstance - CimObjectInstance object to add or modify
Optional dynamicMode As VARIANT - Perform the save dynamically.
Description: CimObjectList.Save adds or modifies an object to the project.

Examples

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim objects as CimObjectList
set objects = project.objects
Dim obj as CimObjectInstance
set obj = objects.Item("TANK_PID")
obj.Description = "New Description"
project.Objects.Save obj, FALSE