Closed MaartenBW closed 1 year ago
Hi @MaartenBW, this looks odd. I believe this should be added. The bug was reported (#135374). Thank you.
HI, thanks for the response.
Another remark regarding this: The table that is returned is now dependant on the visibility settings in the GUI. I think it makes more sense to return the complete unfiltered table
Hi, that makes sense.
Hi @MaartenBW,
the fix was done by returning only relevant results. So for NodesDeformations the request looks like this: ResultTables.NodesDeformations(CaseObjectType.E_OBJECT_TYPE_LOAD_CASE, 1, 20)
Which specify the load case and node. Hence, adding ID of the node is no longer required.
RESOLVED
Describe the bug When requesting a ResultTable from the Python API, the object number is not included in the dictionary that is returned.
When I request the NodesDeformation ResultTable using:
The Node no. is not included in the table. In RFEM, the table looks like this:
But the returned dictionary looks like this:
As you can see, the deformations of the first row match with the deformations shown in the first dictionary of the returned object, But the
'no'
is set to 1.0 (the row number) but not the Node ID.Expected behavior I would expect that the Node No. is included in the result table, because in post processing the node deformation results are matched with a actual nodes. This is now impossible since it is unknown what row belongs to what node. Next to the fact that the table is not starting at Node 1, the Node Numbers are also not continuous througout the table. This means that it is impossible to know what Node the results belong to.
I also think its weird that the field 'no' in the table is the row index and not the object id, since everywhere in the tool, 'no' is used for object ids.
Desktop (please complete the following information):