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

Hull and Outfitting

Callbacks: Expressions

  • Last UpdatedJan 09, 2024
  • 1 minute read

A callback may be any valid expression, including any AVEVA product commands. For example, the following is a Marine command:

‘new box xlen 10 ylen 20 zlen 50’

It can also include PML general commands like

‘$m %pathname%/MyMacro’

to execute a given command macro, or

‘q var !!form’

‘q var !!form.gadget’

which will write out details of the form or gadget and its members. You might like to try it on the form !!Hello.

Typical expressions for a callback are

‘!this.gadget.val = !MyObject.count’

‘!MyObject.count = !this.gadget.val’

which get or set the value of a gadget on the form from or to a user-defined object.

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