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

AVEVA™ XR Connected Worker Template

Customize Discover

  • Last UpdatedJan 20, 2025
  • 2 minute read

The Discover functionality helps to identify various part of assets and view the metadata about the machine part. The machine parts are logically categorized into various groups. The groups can have multiple entries.

Code example

It is configured using the following snippet in apm_data_sampleAsset.xml.

<define name="sampleAsset.discover" type="config" >

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

<struct name="group_0">

<item name="displayName" value="Sample Group” />

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

<struct name="entry_0">

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

<item name="displayName" value="Cube Mesh" />

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

<item name="highlightMeshes" value="debug_cube|cube" />

<item name="hotspotMeshes" value="debug_cube|cube" />

<item name="details" value="Entry Metadata” />

<item name="explodedViewAnimation" value="” />

<item name="isolate" value="false” />

</struct>

</struct>

</define>

Parameters

This table lists the parameters to use for sampleAsset.discover.

Parameter

Description

numberOfGroups

The number of groups that you want to create for the asset. Each group can have a number of entries.

Group_0::displayName

Displays the name of the group.

Group_0::numberOfEntries

Number of entries in this group

Entry0::displayID

The displayID of the entry, often entry number.

Entry0::displayName

Display name of the Entry in the group.

Entry0::camera

The camera that will be used to view the entry.

Entry0::highlightMeshes

The meshes to highlight on selecting this entry. Can pass an empty string if there are no meshes to highlight.

Entry0::hotspotMeshes

The list of meshes on which the hotspots will be drawn. Can pass an empty string if there are no hotspots for an entry.

Entry0::details

On each entry in the group there is a button to display the metadata about the asset. This field has the information/metadata that will be displayed for this entry.

Entry0::explodedViewAnimation

Can be used to link entry to an AnimationClip node designed to perform the entry exploded view. When set, an exploded view toggle button is shown in the details menu to let the AnimationClip play.

Entry0::isolate

If set to true, shows selected entry in the Details menu and hides all other geometries.

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