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

AVEVA™ XR Studio

Constraints tag

  • Last UpdatedApr 28, 2023
  • 1 minute read

The <constraints> tag of Config.xml is used to obtain particular behavior inside the configurator property box. This tag is optional.

Code example

This is a code example for the constraints tag.

<item name="numThreads" type="sint" value="0" description="Number of threads" constraints="range:0 inf" />

Constraint values

These are values for the constraints tag.

Value

Description

Examples

blocked

This parameter is not editable.

"blocked"

range

Defines the min and max values. Accepted only for SINT and SFLOAT.

"range:4.5 5.7" "range:-inf 5.0" "range:-inf inf" "range:-5 inf"

combo

Shows restricted options within a combo. For each option, there is a displayed key and a value to be assigned. If the value is not indicated, the key is used as value.

combo:English=en,Italian=it" "combo:ANONYMOUS,BADGE" "combo:Pizza=0,1.5"

function

This parameter forces the call of a specific function inside the configurator when setting the value for the item.

"function:refreshGFX"

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