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

AVEVA™ XR Studio

deleteshare

  • Last UpdatedMay 27, 2024
  • 2 minute read

The deleteshare is a statement that can be used inside Command or Coroutine to delete an existing share on the messagebus. The share is instantly deleted, so that values for the shared field are not sent or received anymore.

For further information on shares, see share.

Platform support

This node is fully supported on XR-Windows, XR-Portable Windows, XR-Portable iOS, XR-Portable Android, and XR-Portable 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 the deleteshare statement.

<Command name="deleteLocalInstance" args="playerName=sstring" >

<deleteshare field="[@%playerName%]_text.text" />

<deletenode name="[@%playerName%]_box" />

<deletenode name="[@%playerName%]_text" />

<modify name="localInstances.value" op="rem" value="[@%playerName%]" />

</Command>

Fields

These are the fields for deleteshare statement.

Fields

Type

Use

Default value

Description

field

sstring

Mandatory

Not set

The name of the field to share in the form of node.field.

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