interactive labels

interactive labels

The interactive labels module allows the user to place formatted labels at probed locations within the viewer. The data displayed is the data at the probed location. Labels use an expression editor that supports variables derived from the probed data (coordinates, data name, value, and units) as well as external number and string inputs.

Each label can optionally have a leader line drawn from the probed point to the label origin. The labels can be exported to a .PT file for use in place text, with the leader lines written to an accompanying .ELF file.

Ports

DirectionNameTypeDescription
InputNumber VariableNumberA value used as a variable in the expression.
InputInput String VariableStringA string used as a variable in the expression.
OutputOutput Number VariableNumberA value used as a variable in the expression.
OutputOutput String VariableStringA string used as a variable in the expression.
OutputOutput ObjectRenderableA renderable object displaying the labels.

Properties

PropertyTypeDescription
VisibleVisibilityControls the visibility of the object. Excluded prevents inclusion in supported exports. Locked makes the object always visible in supported exports.
ExplodeDoubleThe explode factor to apply to each label based on its Explode ID.
Export FileFileExports the current labels to a *.pt (EVS place text) file. This also creates an *.elf file to store the leader lines if Create Leader Lines is on.

Label Settings

PropertyTypeDescription
N1DoubleA floating point value, passed in via the Number Variable port, for use as {N1} in the expressions.
S1StringA string value, passed in via the Input String Variable port, for use as {S1} in the expressions.
Create Leader LinesBooleanCreates a line from the probe point to the label origin.
Probe ActionChoice: None, Reset Position, Add LabelChanges the selected label’s origin, or adds a new label, at the probed location. Only available when the viewer is connected.
Control ExpressionExpressionThe expression used by all labels with a linked Expression value. Supports the variables {N1}, {S1}, {CoordinateX}, {CoordinateY}, {CoordinateZ}, {Name}, {Value}, and {Units}. The default is “Value = {Value:,.3f}”.
LabelsInteractive LabelsThe list of placed labels and their individual settings.