Extra functionality can be obtained in the templates using special instructions that are described in this document
IF THEN ELSE
Available after version 5.5.1.0
Syntax | Description | Examples |
[ {boolean} ] ::: A ::: B Important DEPRECATED after version 5.5.1.8 | If the Boolean value that should be 1 or 0, is 1, outputs A, if not, outputs B. B is optional | [{Profile.HasMessage}]:::MSG (“{Profile.Message}”) [{Profile.HasOverlimit}]:::ATRANS X10:::ATRANS X20 |
[ {boolean} ::: A ::: B ] Introduced in version 5.5.1.8 the if then else can now also include expressions, both on the condition as also on the resulting conditions | If the Boolean value that should be 1 or 0, is 1, outputs A, if not, outputs B. B is optional | [{Profile.HasMessage}:::MSG (“{Profile.Message}”)] [{Profile.HasOverlimit}:::ATRANS X10:::ATRANS X20] [[{Material.Outside}>=300]:::G00 X[A*30]:::G00 X[B*10]] |
UNICODE characters
Available after version 5.5.1.0
Syntax | Description | Examples |
[*U+00xx*] | Outputs the Unicode character represented by the xx. | [*U+001A*] outputs the 1A character that is the substitute character. More information in: https://en.wikipedia.org/wiki/List_of_Unicode_characters |