Gets the point enum that this field belongs to. | |
Syntax: | Set CimPointEnum = object.Enum |
Description: | The Enum property gets the point enum that
this field belongs to. 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 Dim pointEnumField As CimPointEnumField Set pointEnums = project.PointEnums Set pointEnum = pointEnums.Item("TurbineStates") Set pointEnumFields = pointEnum.Fields Set pointEnumField =
pointEnumFields.Item("Starting") pointEnumField.Text = "Cold Starting" pointEnumField.Enum.Save False |