I am trying to get the stress at the bar’s endnode from the CDBase without success… With this way bellow I can only get the stresses from the bar’s startnode (X=0.0):
Just repeat the requests, this will read the next line in the cdb.
@key beam_str #lf #stab #qsp_i
let#sNni @(nr) $ Stabnummer
let#sX @(X) $ Abstand zu Stabanfang
let#sigc @sigc/1000 $ Druckspannung
$ ----------------------------------
$ Repeat the block below until you get what you want (correct NR/X)
$ ----------------------------------
let#sNni @(nr)
let#sX @(X)
let#sigc @sigc/1000
$ ----------------------------------
Basically you are:
jumping to the first cdb-entry of your beam/bar with @key
reading the information in that “line” with @nr/@x/@sigc
reading the information in the next line, once you start reading something “behind”, e.g. @nr after reading @sigc
Maybe read through the cdb-access-examples_1.dat file in your installation folder (C:\Program Files\SOFiSTiK\2020\SOFiSTiK 2020\interfaces\examples\cadinp)