anaStruct icon indicating copy to clipboard operation
anaStruct copied to clipboard

get_element_results not working for truss member

Open ablundon opened this issue 3 years ago • 0 comments

It appears that the get_element_results method does not work properly for truss members? Using the command:

ss.get_element_result(element_id=0)

properly returns the list of element results for all elements. However, when I use the command:

ss.get_element_result(element_id=1)['N'] # Or any other element_id

I get an AssertionError on that line.

Note that the following command seems to work:

ss.get_element_result(element_id=0)[0]['N']

I get the axial load in member #1 (list = 0) as expected.

ablundon avatar May 19 '21 11:05 ablundon