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

AVEVA™ XR Connected Worker Template

Define settings for each entry

  • Last UpdatedJan 20, 2025
  • 2 minute read

Each group entry has eight (8) fields that need to be populated in the Asset Datasheet XML.

Field

Description

displayID

Unique identifier for each entry. Starts with 01, then 02, and so on.

displayName

Name used in menu UI. Can reference language system.

camera

Link a camera for each entry by entering the name of the camera from the graphic context.

highlightMeshes

Enter all the names of the mesh objects that need to be highlighted.

hotSpotMeshes

Write the name of mesh object(s) to be represented by a hotspot. If you want to add the label to the meshes you can add $name to display. For example, "machine_blender|machine|discover_m_motors_01$Lower Motor". We recommend using a language reference key for the custom hotspot name. For example, @lang:motor_lower@

details

A short description about the entity that is shown in the metadata UI panel. Reference the language system if solution requires multi-language support.

Complete each entry section for each of the five groups. Use the Mesh selection techniques to identify mesh objects and paste their names into the Asset Datasheet XML.

Code example

For example, for group_0 (Control Panel), here is the Discover XML configuration.

<!-- Control Panel -->

<struct name="group_0">

<item name="displayName" value="@lang:title_cp@" />

<item name="numberOfEntries" value="1" />

<struct name="entry_0">

<item name="displayID" value="01" />

<item name="displayName" value="@lang:title_cp@" />

<item name="camera" value="cam_control_panel" />

<item name="highlightMeshes" value="machine_blender|machine|discover_cp_control_panel,machine_blender|machine|discover_cp_buttons_red_01,machine_blender|machine|discover_cp_buttons_red_02,machine_blender|machine|discover_cp_buttons_green_01,machine_blender|machine|discover_cp_buttons_green_02,machine_blender|machine|discover_cp_buttons_yellow_01,machine_blender|machine|discover_cp_buttons_yellow_02" />

<item name="hotspotMeshes" value="" />

<item name="details" value="@lang:info_cp@" />

</struct>

</struct>

Any @lang: references that are not in the lang.xml file will need to be added with appropriate text.

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