Condition constants - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

The following condition constants are supported.

Control characters

Control characters are special characters for which there is no way to enter them into a constraint other than by using the constant. For example, no mechanism exists to add a carriage return to a constraint without using the CR control character.

The control characters are treated as strings within the conditions language and can therefore be used wherever a string is valid.

Control character

Description

Back

Backspace

CR

Carriage return

CRLF

Carriage return followed by line feed

FormFeed

Form feed

LF

Line feed

NewLine

New line

NullChar

Null character

Tab

Tab character

VerticalTab

Vertical tab character

Days of the week

The seven days of the week are available as constants. These constants are treated as integer values within the condition.

Constant

Value

Sunday

1

Monday

2

Tuesday

3

Wednesday

4

Thursday

5

Friday

6

Saturday

7

System constants

The following system constants are supported.

CurDir - The current active system directory. This value is treated as a string.

Now - The system date and time. This value is determined when the condition is evaluated, not at the time it is defined. This value is treated as a date/time value.

Unit of measure constants

The following system constant is supported.

PI - The mathematical constant pi.

UOM constants are treated as SI values.