TCL Scope CALC

Inhalt

Index

Syntax

CALC arg1 arg2

Description

Allplan Bridge uses TCL's mathematical interpreter to realize the variation of the model dynamically and flexibly. For this purpose, the existing interpreter is supplemented by additional constants, variables, functions and tables. In any case, the syntax rules of TCL must be observed. In particular, predefined names cannot be overwritten. Special characters that make the evaluation of the mathematical expression impossible must not be used.

The definitions added to the model in the scope CALC are made available to the TCL interpreter during runtime. Interpretation of expressions takes place in the external library.

The expressions are interpreted in the system of units selected at the current time. The user's view is the system of units chosen by him. If the user changes the unit system at a later time, this will affect the interpretation of the expressions.

Arguments

Minimum quantity: 1

arg1

Value

Meaning

BEGIN

Scope will be opened

END

Scope will be closed

arg2 (arg1 = BEGIN)

Value

Dimension

Meaning

ADD

KEYWORD

The tables and formulas are added.

CLEAR

KEYWORD

The existing tables and formulas are deleted before the scope is imported.

Scopes

ABM

Examples

CALC BEGIN

CALC END

In this chapter

TCL Command TABLE

TCL Command VAR

TCL Scope CURVE

TCL Command DEFINE



Allplan

(C) ALLPLAN GmbH

Privacy policy