Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code

Syntax

DescriptionNotes
MA
{MA:<var name>}
Variable of parent object (sequence: GR/LA/PG/WS)
GR
{GR:<var name>}
Variable of a group object
LA
{LA:<var name>}
Variable of a layer object
PG
{PG:<var name>}
Variable of a page object
WS
{WS:<var name>}
Variable of a workspace object
OB
{OB:<var name>}

Variable of the current graphic object


OV
{OV:<graphic object id>.<var name>}
{OV:this.<var name>}

Object variable of the graphic object with the given ID.

The referenced object has to be on the same visualization page as the referencing object.

Use "this" for the <graphic object id> to get properties of the current object.


IV
{IV:<Item ID>}
{IV:this}

Item value

"this" uses the value of the last item ID written to the control


IP
{IP:<Item ID>.<Property ID>}
{IP:this.<Property ID>}

Value of an item’s property (e.g. {IP:"NETx\VIRTUAL\Simulation\Device\Fassade".3 } yields the value of property ID 3 (i.e. Quality) of the item)

"this" uses the last item written to the control


CH
{CH:<character code>}

Special character. Possible character codes are

  • NL: newline

SV
{SV:<var name>}

System variable. Possible variable names are

  • USERNAME: name of the current user
  • PAGENAME: name of the current page
  • PROJECTNAME: name of the running visualization project

VT{VT:<key>.<Index value>}Variable of Excel file nxaVarTable.xslx (in Visu project's DataFiles folder) available since 4.1.2000
OT{OT:<Index value>}The control name must be identically with the variable name within the first column of the Excel file.available since 4.1.2000
EV
{EV:<Mathematical expression>}
The EVAL function evaluates

Evaluates a mathematical expression

. E

, e.g. 

Code Block
{EV:"(500+200)/{PG:Eval}"}
Where Eval is PG variable with any predefined value

adds the constants 500 and 200 and divides the result by the value of the page variable (PG) "Eval". The original expression is replaced by the arithmetic result before further processing.

available in web from 4.1.2010

...