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

AVEVA™ Engineering

Querying and Setting Case Values on the Command Line

Querying and Setting Case Values on the Command Line

  • Last UpdatedApr 08, 2024
  • 1 minute read

Example to query a case value on a User Defined Attribute (UDA):

Q :caseUDA('Case name' )

Example to query an array of cases for a UDA

!cases = ARRAY()

!cases[1] = 'Normal'

!cases[2] = 'Minimum'

!cases[3] = 'Maximum'

q var !!ce.attribute(':caseUDA', !cases)

Example to set a case value

ATT :caseUDA('Case name' ) = !value

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