CimGlobalParmList.Item (read-only property)

Gets the global parameter by name.
Syntax: Set CimGlobalParm = object.Item ( ParmID )
Parameters:
ParmID As String - Global Parameter to be retrieved.
Description: CimGlobalParmList.Item returns a CimGlobalParm by name. Use this method to obtain an existing global parameter.

Examples

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim parms As CimGlobalParmList
Dim parm As CimGlobalParm
Set parms = project.GlobalParms
Set parm = parms.Item("XYZ")
parm.Value = "N"
parms.Save parm, FALSE