Since version: 1.30
The voxel popup profile allows the users to use the Arcade expressions in popups. Arcade expressions are evaluated for an individual voxel belonging to the VoxelLayer. Each voxel in the VoxelLayer has the same set of "fields", which are variables in VoxelLayer terminology.
Context
The following products implement this profile:
Spatial reference
The spatial reference of the scene in which the expression executes determines the execution context's spatial reference.
Time zone
The time zone of the scene in which the expression executes determines the execution context's default time zone.
Profile variables
Variable Name | Type | Description |
---|---|---|
$voxel | Voxel | Provides access to the attributes of the voxel whose popup is to be displayed in the scene. |
Function bundles
Return types
Examples
Formats and adds a unit for the fixed voxel depth field.
Text($voxel["Voxel.Depth"], "# m")
Converts the sea water temperature variable from the voxel from Celsius to Fahrenheit.
$voxel.sea_water_temperature * 1.8 + 32