I am trying to pull data out of CDB with python, however somehow i do not pull the right data. I am by no means an experienced coder, just a civil engineering student working on a project, but I thought maybe someone here could help me out.
I have a composite section composed out of steel and concrete parts and I am trying to read out the area of each part.
As you can see the data I’m looking for is stored in SECT_PAR (material 1 is steel, 4 is concrete).
I used the following code to try to get out:
I use a similar function to read out the stresses which does work as intended.
However, the code returns me the Area stored in SECT instead for the steel part and nothing for the concrete part. The section itself has material number 1 (steel) aswell, so thats probably why it gives nothing for concrete, but stil the area stored in SECT is not the sum of the the sum of the (correct) areas of steel and concrete, so what does the area in SECT even represent?
I use a similar function to read out the stresses which does work as intended.
the Section is coded as follows in Teddy if that is any help.