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

AVEVA™ XR Studio

Create a release package with custom configuration

  • Last UpdatedJul 25, 2024
  • 1 minute read

In some cases, different nodes may need special configuration files customization. For example, two field operators may have different equipment or the XR Instructor may need to disable the InteractionActionMenu display.

In these projects, instead of building different dedicated \_release versions with different settings, you can define configuration files using the Project Properties Editor.

Test player nodes

Use the XR Studio application toolbar to directly test player nodes that are related to configuration.

Load a configuration

To let XR Viewer or XR Instructor executable load and apply a configuration, its name must be passed to the executable as a parameter. A good solution is to develop batch file launchers. You can put these launchers directly into \Code development folder so that they are exported into the \_release folder automatically.

Code example

For example, consider the need to pass a configuration called instructor.xml to the XR Instructor executable.

The launch_instructor.bat file content would be:

InstructorStationNG -configuration .\GameData\configuration\instructor.xml

Cybersecurity Note

Not all configurations can run properly on a given deploy and certain engine configurations can expand the potential attack surface of the solution.

We strongly advise the following measures:

  • On deployment, restrict write permission of configuration files to Administrator users only. 

  • Restrict application use to lower level users than admin, so that they will not be able to tamper with configuration files, either with a text editor or with the Configurator tool.

After the solution has been delivered, the goals are to maintain the flexibility for future changes by an Administrator user, but also to protect the application against malicious attempts by other users.

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