Return Value from CDB database

Is it possible to get a return value from the database? I want to use the value (Center of gravity from the cross section from AQUA or a stress point) and implement it in my further code.

Thanks in advance!

Yes, it is.

You can access the centre of gravity for cross section 10 in teddy as follows:
@Key Sect 10
Let#y_coordinate @(ys)
Let#z_coordinate @(zs)

You are accessing the database, so that you can access the values after they are written to the cdb.
→ The values exist in the cdb after the aqua run for the cross section

If you want more information, check out:
https://www.sofistik.com/documentation/2023/en/cdb_interfaces/cadinp/_cadinp.html

1 Like