Allplan Bridge extends the underlying TCL language with its own commands. All TCL language elements can be used. Rules of the TCL language must be followed, especially the use of the character set and special characters. Special characters should be avoided if possible. Allplan Bridge adapts used special characters (e.g. '[', '"') in names and texts by escape characters that the exported file can be imported again.
Spaces and tab stops are allowed and facilitate readability. If a command is very long, it can be continued in the next line. A line is continued when it is terminated by the '\' character.
The use of own procedures (see official TCL documentation, 'proc') is also possible.
Allplan Bridge commands are organized in scopes. Each scope has a certain number of available commands.
The interpretation of a TCL file by Allplan Bridge always starts outside the main scope ABM. The program expects the command ABM BEGIN to open the main scope. In this description the hierarchy of the existing scopes and single commands is shown.
Text file Editor
Several external text file programs provide syntax support for the TCL language (e.g. Notepad++, PSPad, Textpad). In some cases, the Allplan Bridge extensions can be supplemented. We recommend the use of Notepad and offer the extension of syntax support for Allplan Bridge TCL. It is up to the user to install Notepad++ itself and this extension.
Restrictions
With 2 exceptions, recursive use scopes are not possible. The program checks the correct hierarchy of scopes when executing the script.
Mathematical expressions must follow the rules of the TCL language.
|
(C) ALLPLAN GmbH |
Privacy policy |