Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

senum

  • Last UpdatedSep 05, 2024
  • 1 minute read

This topic is about the SENUM data type.

Value syntax

EnumValue

Description

Used to select property value from a list of predefined values. The different ENUM values differ from one field to another.

Creating a SENUM field

You can create a senum field in a Var, a Struct or as a local, by using a specific syntax. The senum type must be followed by a colon and then the comma-separated list of all allowed values.

<Var name="aSenumVar" type="senum:opt1,opt2,opt3" value="opt1" />

Attributes

These are the attributes for SENUM.

Attribute

Type

Description

enumerate()

mstring

Returns the list of values in the enumeration.

isModified

sbool

Set to true in the frame where the value of this field is modified.

type

sstring

Returns the type name.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in