TCL Command ABRESULT, Load case data

Inhalt

Index

Syntax

array set lc   [ABRESULT dataid LOADCASE GET]

Description

Query the load case data

Argument

Dimension

Meaning

dataid

OBJID

Daten-ID

LOADCASE

KEYWORD

Result type of query

GET

KEYWORD

Query data

Return array

Array item

Dimension

Meaning

error

INT

Error code

info

TEXT

Error information

schedule

TEXT

Schedule name

name

TEXT

Load case name

lctype

TEXT

Load cases may be typified. The following types are possible: NULL - non-precific, PT - pre-stressing, CS - creep/shrinkage, EMPTY - empty load casel, PERM - permanent load

fx

FORCE

Sum of forces in X

fy

FORCE

Sum of forces in Y

fz

FORCE

Sum of forces in Z

mx

MOMENT

Sum of moments in X

my

MOMENT

Sum of moments in Y

mz

MOMENT

Sum of moments in Z

x

LSTRUCT

Resulting load application point

y

LSTRUCT

Resulting load application point

z

LSTRUCT

Resulting load application point

Scopes

All

Examples

# units

array set ul [ABMUNIT LSTRUCT GET]

array set uf [ABMUNIT FORCE GET]

array set um [ABMUNIT MOMENT GET]

set formatu " \[d\] %10s %10s %10s %10s %10s %10s %10s %10s %10s"

puts $outfile ""

puts $outfile " Loadcase 'SW' Day FX FY FZ MX MY MZ X Y Z"

puts $outfile [format $formatu $uf(symb) $uf(symb) $uf(symb) $um(symb) $um(symb) $um(symb) $ul(symb) $ul(symb) $ul(symb)]

puts $outfile " --------------------------------------------------------------------------------------------------------------------------"

set format4 " %23s %10.1f %10.1f %10.1f %10.1f %10.1f %10.1f %10.3f %10.3f %10.3f"

array unset lcret

array set lcret [ABRESULTS $sched1 LOADCASE GET "SW" ATDAY 21]

array unset lc

array set lc [ABRESULT $lcret(id) LOADCASE GET]

puts $outfile [format $format4 $lc(day) $lc(fx) $lc(fy) $lc(fz) $lc(mx) $lc(my) $lc(mz) $lc(x) $lc(y) $lc(z)]

array unset lcret

array set lcret [ABRESULTS $sched1 LOADCASE GET "SW" ATDAY 49]

array unset lc

array set lc [ABRESULT $lcret(id) LOADCASE GET]

puts $outfile [format $format4 $lc(day) $lc(fx) $lc(fy) $lc(fz) $lc(mx) $lc(my) $lc(mz) $lc(x) $lc(y) $lc(z)]

array unset lcret

array set lcret [ABRESULTS $sched1 LOADCASE GET "SW" ATDAY 78]

array unset lc

array set lc [ABRESULT $lcret(id) LOADCASE GET]

puts $outfile [format $format4 $lc(day) $lc(fx) $lc(fy) $lc(fz) $lc(mx) $lc(my) $lc(mz) $lc(x) $lc(y) $lc(z)]

array unset lcret

array set lcret [ABRESULTS $sched1 LOADCASE GET "SW" ATDAY 107]

array unset lc

array set lc [ABRESULT $lcret(id) LOADCASE GET]

puts $outfile [format $format4 $lc(day) $lc(fx) $lc(fy) $lc(fz) $lc(mx) $lc(my) $lc(mz) $lc(x) $lc(y) $lc(z)]

It is assumed that a text file outfile has been opened for writing . The results are written formatted into the text file.

The output is project-dependent and can look like the following, for example:

Loadcase 'SW' Day FX FY FZ MX MY MZ X Y Z

[d] [kN] [kN] [kN] [kNm] [kNm] [kNm] [m] [m] [m]

--------------------------------------------------------------------------------------------------------------------------

21 0.0 -3392.3 -0.0 0.0 46710.5 -0.0 0.000 -13.769 0.000

49 0.0 -15390.6 -0.0 -2.1 -6630.3 -0.0 0.000 0.431 0.000

78 0.0 -17988.1 -0.0 -2.4 -10611.8 -0.2 0.000 0.590 0.000

107 -0.0 -9166.2 0.0 -0.1 424.0 -0.0 0.000 -0.046 0.000

Output for script above.



Allplan

(C) ALLPLAN GmbH

Privacy policy