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

AVEVA™ XR Studio

Create and configure a special group

  • Last UpdatedDec 04, 2023
  • 1 minute read

You can create two different variables: one set to Read (usually a Var) and one set to Write (usually a Command).

This is to avoid the creation of loops between reading and setting, especially when using the iOS app.

In some cases, such as with sbool parameters, there is no explicit need to have different variables, but the practice can still be followed.

Parameters

These are the parameters for a special group.

Parameter

Use

Description

name

Mandatory

Group name

numberOfItems

Mandatory

How many elements the group contains.

jumpTo

Optional

Assigns the group to a particular item or a particular camera. It must be set to a node with position and orientation.

item_X_name

Mandatory

Item name. (X=0 ® numberOfItems-1)

item_X_type

Mandatory

Item type. (X=0 ® numberOfItems-1)

item_X_icon

Optional

Icon to display in XR Instructor special explorer and item handler. If not set, then no icon displays.

item_X_setvar

Mandatory

Variable to modify the item. (X=0 ® numberOfItems-1).

item_X_getvar

Mandatory

Variable to read the item state. (X=0 ® numberOfItems-1).

item_X_constraints

Optional

Two types of constraints are allowed range for analog:

  • Values. For example, range:0 1.

  • Combo for SSTRING selections. For example, combo:Normal=0,Fog=1,Rain=2,Snow=3.

(X=0 ® numberOfItems-1).

item_X_handler

Optional

Forces the use of a specific handler class instead of the type-based class. (X=0 ® numberOfItems-1).

item_X_handlerParams

Optional

Passes some parameters to the specific handler. The syntax depends on the selected handler. (X=0 ® numberOfItems-1).

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