Schematic 3D Integrator User Guide

How to Configure Build Rules : Configuration File Section by Section : Expression Syntax
Operators eq, ne, lt, le, gt, ge, test for equality, inequality, less than, less than or equals, greater than, greater than or equals, and apply to a pair of numerical expressions or a pair of alphanumeric expressions or a pair of Boolean expressions. (The result will be unpredictable if expressions of different type are compared.)
Operators and and or test for Boolean "and" and Boolean "or" between two Boolean expressions.
Operator not is used to negate the Boolean expression that follows it.
Attributes can generally be included in rules using the of syntax, e.g. NAME of source, but the dot notation can also be used, e.g. source.NAME. The dot notation is useful for array attributes, e.g. source.BOREAR[3] < 100.
double Sine (double angle)
double Cosine (double angle)
double Tangent (double angle)
double Acosine (double value)
double Atangent (double value)
double Sqrt (double value)
double Log10 (double value)
double Logarithm (double value)
double Alog10 (double value)
double Alogarithm (double value)
double Absolute (double value)
integer Fix (double value)
integer Ceiling (double value)
integer Round (double value)
double Atant (double x, double y)
double Minimum (double a, double b, …)
double Maximum (double a, double b, …)
integer Length (string text)
integer Occurs (string text, string sub)
integer Instring (string text, string sub)
string Asstring (object value)
double Asreal (object value)
boolean Asboolean (object value)
string Substring (string text, integer start [, integer length])
string Left (string text, integer length)
string Right (string text, integer length)
string Before (string text, string sub)
string After (string text, string sub)
string Uppercase (string text)
string Lowercase (string text)
string Replace (string text, string
seek, string sub)
string Trim (string text)
string Format (string pattern, object
arg1, …)
string Lookup (string dictName, string key)
boolean Between (object test, object
lower, object upper)
boolean Inlist (object test, object
value1, …)
Integer Listposition
string Format (string pattern, object arg1, …)
This example generates a name from the values of three attributes on the source object. The first two values are straightforward substitutions. The third value is substituted as an integer value with a minimum of 3 digits, padded with leading zeros if necessary, e.g. "45" -> "045".

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo