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

AVEVA™ XR Studio

private

  • Last UpdatedApr 28, 2023
  • 2 minute read

The private command is used to restrict visibility from the debug tools of all the nodes, defines and routes defined inside of it.

This node is for display purposes only and does not affect the script functionalities. The elements defined inside a private command are not less accessible compared to those that are outside. They are just not shown by default in the XR Viewer Runtime Debug Tool and in the XR Remote Debugger.

Platform support

This element is fully supported on XR-Windows, XR-Portable Windows, XR-Portable iOS, XR-Portable Android, and XR-P Hololens platforms.

XR-WIN

XR-P-WIN

XR-P-IOS

XR-P-AND

XR-P-WASM

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Code example

This is a code example for private.

<Var name="boolVar" type="sevent" />

<private>

<define name="log.text" value="cmd_test!" />

<route from="boolVar.value" to="cmd_test.execute" />

<Command name="cmd_test">

<log text="[@def:log.text]" />

</Command>

</private>

Fields

The private command is a decorator element and has no fields.

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