Filter by a specific material type for result output

Hi Fabian_Allgayer,

you're right, this is how the filter is implemented currently. But in the material you will have a list 'assigned to', so you could get this list, or do more filters if needed, and then pass this list to the filter of the results as the filter_expression:

my_filter_expression = create list of objects with desired material (e. g. '1,3,6')
filters=[RFEM.results.ResultsFilter(column_id='member_no', filter_expression=my_filter_expression)]

#Retrieve filtered results as a Pandas DataFrame (.data)
results: pandas.DataFrame = RFEM_app.get_results( results_type=RFEM.results.ResultsType.STATIC_ANALYSIS_MEMBERS_INTERNAL_FORCES,
filters=filters
).data
print(f"\nResults Pre-processed (Filters):\n{results}")

Best regards
Robert Milrath