CimPointEnum.EnumID (property)

Gets and sets the EnumID of the enum field.
Syntax: String = object.EnumID
object.EnumID = String
Description: The EnumID property gets and sets the enum id of the point enum.



Example:

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim pointEnums As CimPointEnumList
Dim pointEnum As CimPointEnum
Dim pointEnumFields As CimPointEnumFieldList
Set pointEnums = project.PointEnums
Set pointEnum = pointEnums.Item("TurbineStates")
pointEnum.EnumID = "RunningStates"
pointEnum.Save