Syntax
array set unit [ABMUNIT unitcode GET]
Description
Query the information about a unit
Argument |
Dimension |
Meaning |
unitcode |
ENUM |
Code from "ANGLED ANGLE LCROSSD LCROSS LSTRUCTD LSTRUCT STATION TEMP AREINF ASTRAND EMOD STRESS FORCE MOMENT DEVIATION LSMALL GAMMA ACC" |
GET |
KEYWORD |
The data for the selected unit is returned as ARRAY. |
Return array
Array item |
Dimension |
Meaning |
error |
INT |
Error code |
info |
TEXT |
Object or error information |
name |
TEXT |
Unit code |
symb |
TEXT |
Unit symbol |
fact |
DOUBLE |
Factor for conversion to the internal unit, which corresponds to the metric or SI unit. |
base |
DOUBLE |
Base value (e.g., for TEMP) |
Scopes
All
Examples
array set ul [ABMUNIT LSTRUCTD GET]
array set us [ABMUNIT STATION GET]
array set ua [ABMUNIT ANGLED GET]
set ub "1/"
append ub $ul(symb)
The unit information for the structure lengths (LSTRUCTD), the stations (STATION) and the angles (ANGLED) are queried. From the symbol ul(symb) of the set unit for the structure lengths, the symbol ub for the curvature is determined.
|
(C) ALLPLAN GmbH |
Privacy policy |