Tool(s): Label Style, defining formula + Define Cell, formula
Arithmetic operators
+ |
Addition |
() |
Brackets |
- |
Subtraction |
(()) |
Nested brackets |
* |
Multiplication |
e |
A power of e for floating point representation |
/ |
Division |
^ |
Power |
Supported arithmetic functions
Note: The arithmetic functions that can be used in conjunction with label styles differ from those provided in the Function () tool (Advanced Draft module). Click here to see an overview.
Allplan |
Function |
Description |
ABS(X) |
|x| |
Modulus |
SQR(X) |
|
Square root |
PI(X) |
PI |
Circle function of pi PHI(2) = PI * 2 |
LN(X) |
kn x |
Natural logarithm |
LOG(X) |
log x |
Logarithm to the basis 10 |
RCP(X) |
1/x |
Reciprocal of x |
EXP(X) |
ex |
Exponential function (basis x) |
SGN(X) |
- |
Sign 0=0 <0=-1 >0=+1 |
SIN(X) |
sin x |
Sine |
COS(X) |
cos x |
Cosine |
TAN(X) |
tan x |
Tangent |
ASIN(X) |
arcsin x |
Arc sine |
ACOS(X) |
arccos x |
Arc cosine |
ATAN(X) |
arctan x |
Arc tangent |
SINH(X) |
sinh x |
Hyperbolic sine |
COSH(X) |
cosh x |
Hyperbolic cosine |
TANH(X) |
tanh x |
Hyperbolic tangent |
NINT(X) |
- |
Rounds off to nearest integer |
INT(X) |
- |
Rounds down to nearest integer |
CEIL(X) |
- |
Rounds up to nearest integer |
GRA(X) |
- |
Radians to degrees |
RAD(X) |
|
Degrees to radians |
GON(X) |
- |
Radians to grads |
RAG(X) |
|
Grads to radians |
AVG(x1; x2; ..) |
- |
Returns the average of up to 10 semicolon-separated arguments (AVG(1;3)=2) |
MIN(x1; x2; ..) |
- |
Returns the minimum of up to 10 semicolon-separated arguments (MIN(1;3)=1) |
MAX(x1; x2; ..) |
- |
Returns the maximum of up to 10 semicolon-separated arguments (MAX(1;3)=3) |
FLAG(Value; bit[n];...) |
- |
Binary analysis |
ROUND(X;x) |
- |
Rounds off to a certain number of digits |
ROUND(X;y;z) |
- |
Rounds off any number (x) to a certain number of digits (y). You can specify a round-off value for the last digit (z) |
ELE() |
- |
Filters several numerical values of an attribute and returns 0 or 1 |
VALUE(string;index) |
- |
As in Excel: |
MID(Text; |
- |
As in Excel: |
FORMAT(format string; value1; [value<n>]; ....) |
- |
Returns formatted values |
(C) Allplan GmbH | Privacy policy |