Hello everyone,
can someone tell me if there is a way to access the unit stresses at the stress points of a cross-section in RFEM 6 using Python? In the graphical interface, I find them by double-clicking on the cross-section, tab "Stress Points," then "Unit Stresses | FEM."
In the In-App Scripting, there is the property "stress_points." There I can read the geometry, but neither by trying nor under "Insert Object Property" have I found anything related to stresses.
With the API, I have not even found the property "stress_points."
Is access simply not possible with it?
Hi IanKrukow,
welcome to the community!
Regarding to your question this thread might be interessting for you: Read the y,z coordinates of stress points in cross-section - Dlubal Community.
You can also reach the tables about the stress-strain-analysis, for example:
from dlubal.api import rfem
with rfem.Application(port=9000) as rfem_app:
material: rfem.structure_core.Material= rfem_app.get_object(
rfem.structure_core.Material(no=1)
)
# Example: read unit stresses at all stress points for load combination 1
lc_obj = rfem.object_id_pb2.ObjectId(
no=1,
object_type=rfem.ObjectType.OBJECT_TYPE_LOAD_COMBINATION
)
table = rfem_app.get_result_table(
rfem.results.STRESS_ANALYSIS_STRESSES_ON_MEMBERS_BY_STRESS_POINT_TABLE,
loading=lc_obj
)
print(table.data)
# pandas DataFrame
print(table.data.columns.tolist())
I hope that helps.
Best regards
Robert Milrath