get_result_table#
- dlubal.api.rfem.Application.get_result_table(self, table, loading, member_axes_system=None, support_coordinate_system=None, model_id=None)#
Retrieves a pre-processed result table wrapped in a DataFrame for more efficient analysis, containing only the most relevant values as displayed in the desktop application.
- Parameters:
table (ResultTable) – Unique identifier for the result table type.
loading (ObjectId) – Reference to the loading (e.g., load case, combination, etc.).
member_axes_system (MemberAxesSystem | None) – The axes system to use for member results. If not provided, it defaults to
MEMBER_AXES_SYSTEM_MEMBER_AXES_X_Y_Z
.support_coordinate_system (CoordinateSystem | None) – The coordinate system to use for support results. If not provided, it defaults to
COORDINATE_SYSTEM_LOCAL
.model_id (ModelId | None) – Unique identifier of the model. If None, the active model is used.
- Returns:
A Table object containing the result table as a DataFrame.
Usage
# Retrieves a pre-processed result table wrapped in a DataFrame (.data),
# containing only the most relevant values as displayed in the RFEM desktop application.
result_table: common.Table = rfem_app.get_result_table(
table = rfem.results.ResultTable.STATIC_ANALYSIS_MEMBERS_INTERNAL_FORCES_TABLE,
loading= rfem.ObjectId(
no=1,
object_type=rfem.OBJECT_TYPE_DESIGN_SITUATION
)
)
print(f"\nResult Table:\n{result_table.data}")
// Retrieves a pre-processed result table wrapped in a DataFrame (.Data),
// containing only the most relevant values as displayed in the RFEM desktop application.
Common.Table resultTable = await RfemApp.get_result_table(
table: Rfem.Results.ResultTable.StaticAnalysisMembersInternalForcesTable,
loading: new Rfem.ObjectId
{
No = 1,
ObjectType = Rfem.ObjectType.LoadCombination
}
);
Console.WriteLine($"\nResult Table:\n{resultTable.Data}");
Output:
Result Table:
member_no node_no location_x tag n v_u v_v m_t m_u m_v specification
0 1 1 0.0 n -19066.179688 -4739.395996 -3815.224121 0.47769 0.00606 0.00157 CO9
1 1 1 0.0 n -52948.578125 -0.00941 0.21631 0.00413 0.0 0.0 CO2
2 1 1 0.0 v_y -35810.378906 4149.73877 4650.615234 0.08801 -0.001 -0.0004 CO10
3 1 1 0.0 v_y -32328.970703 -4926.749023 -3862.612061 0.50067 0.00666 0.0016 CO11
4 1 1 0.0 v_z -35810.378906 4149.73877 4650.615234 0.08801 -0.001 -0.0004 CO10
... ... ... ... ... ... ... ... ... ... ... ...
3083 52 <NA> 2.5 m_y_total_min -6350.475098 0.01969 0.00169 -0.10608 -13793.330078 3422.712891 CO4
3084 3 <NA> 2.607484 m_z_total_max -19454.119141 16.660049 0.0 4.71081 0.00006 16142.200195 CO11
3085 27 <NA> 2.607484 m_z_total_min -19539.050781 -16.664209 0.0 -4.58513 0.00004 -16146.089844 CO11
3086 <NA> <NA> <NA> total_max 129770.398438 12256.089844 24387.769531 57.243542 63268.46875 16142.200195 <NA>
3087 <NA> <NA> <NA> total_min -150674.40625 -12253.759766 -25263.300781 -57.243641 -13793.330078 -16146.089844 <NA>
Examples