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

AVEVA™ Engineering

Assigning Values to Element Attributes

  • Last UpdatedFeb 19, 2024
  • 1 minute read

The user can assign a new value to a DBREF attribute, making sure that the type of the new value matches the type of the attribute:

!!CE.Built = TRUE

You can still assign an attribute value in this way even if the PML DBREF is not the current element:

!A = !!CE

!!CE = !!CE.Owner

!A.Built = TRUE

You can even assign a PML object, such as POSITION, where this corresponds to the type of the attribute:

!!CE .Position = !NewPosition

Note:
Where the type of an attribute is a PML object, it is not possible to set an object member value, such as the up value of a POSITION, directly ‑ this must be done in two stages:
!Pos = !!CE.Position
!Pos.Up = 2000
!!CE.Position = !Pos

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