CimMeasurementManager.Save (method)

Saves the complete measurement configuration for the project.
Syntax: object.Save dynamicMode
Optional dynamicMode As VARIANT -
Description: The Save method saves the point enum and all of its fields to the configuration files.


Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim measurementManager As CimMeasurementManager
Dim measurementUnitList As CimMeasurementUnitList
Dim measurementUnit As CimMeasurementUnit
Set measurementManager = project.MeasurementManager
Set measurementUnitList = measurementManager.Units
Set measurementUnit = measurementUnitList.Add("METER")
measurementUnit.Description = "A metric measure of length"
measurementManager.Save False