RFEM_Python_Client icon indicating copy to clipboard operation
RFEM_Python_Client copied to clipboard

BUG: Accessing SpectralAnalysisMembersInternalForces for different Envelopes not possible

Open MaximilianFranz opened this issue 1 year ago • 3 comments

Describe the bug We're trying to access the results of the spectral analysis for different Envelopes (in German: "Umhüllende Y" and "Umhüllende X") via the webservices API. However, we only received the results of the one envelope that's currently selected in the UI and cannot change the envelope programmatically.

To Reproduce We're using this code:

      member_inner_forces = ResultTables.SpectralAnalysisMembersInternalForces(
          loading_type=CaseObjectType.E_OBJECT_TYPE_LOAD_CASE,
          loading_no=loading_id,
          object_no=beam_idx,
          model=model,
      )

where loading_id is the load_case number of "Antwortspektrenverfahren" and beam_idx is the id of a result-beam (type=RESULT_BEAM_TYPE).

We've experimented with using using CaseObjectType.E_OBJECT_TYPE_RESULT_COMBINATION but that didn't yield any results.

Expected behavior Some way to change the envelope type.

Screenshots

This is the envelope we want to switch: image

to fetch the results from this table: image

MaximilianFranz avatar Feb 15 '24 14:02 MaximilianFranz

Hi @MaximilianFranz, none of these functions yield intended table? get_results_for_spectral_analysis_building_model_member_forces_in_shear_walls() get_results_for_spectral_analysis_building_stories_centres_mass_rigidity() get_results_for_spectral_analysis_building_stories_forces_in_deep_beams() get_results_for_spectral_analysis_building_stories_forces_in_shear_walls() get_results_for_spectral_analysis_building_stories_interstory_drifts() get_results_for_spectral_analysis_building_stories_sensitivity_coefficients() get_results_for_spectral_analysis_building_stories_story_actions() get_results_for_spectral_analysis_line_hinges_deformations() get_results_for_spectral_analysis_line_hinges_forces() get_results_for_spectral_analysis_line_releases_deformations() get_results_for_spectral_analysis_line_releases_forces() get_results_for_spectral_analysis_lines_slab_wall_connections() get_results_for_spectral_analysis_lines_support_forces() get_results_for_spectral_analysis_members_contact_forces() get_results_for_spectral_analysis_members_global_deformations() get_results_for_spectral_analysis_members_hinge_deformations() get_results_for_spectral_analysis_members_hinge_forces() get_results_for_spectral_analysis_members_internal_forces() get_results_for_spectral_analysis_members_internal_forces_by_member_set() get_results_for_spectral_analysis_members_internal_forces_by_section() get_results_for_spectral_analysis_members_local_deformations() get_results_for_spectral_analysis_members_local_plastic_deformation_ratios() get_results_for_spectral_analysis_members_strains() get_results_for_spectral_analysis_nodes_deformations() get_results_for_spectral_analysis_nodes_pseudo_accelerations() get_results_for_spectral_analysis_nodes_pseudo_velocities() get_results_for_spectral_analysis_nodes_support_forces() get_results_for_spectral_analysis_solids_basic_stresses() get_results_for_spectral_analysis_solids_basic_total_strains() get_results_for_spectral_analysis_solids_deformations() get_results_for_spectral_analysis_solids_equivalent_stresses() get_results_for_spectral_analysis_solids_equivalent_total_strains() get_results_for_spectral_analysis_solids_gas_quantities() get_results_for_spectral_analysis_solids_principal_stresses() get_results_for_spectral_analysis_solids_principal_total_strains() get_results_for_spectral_analysis_summary() get_results_for_spectral_analysis_surfaces_basic_internal_forces() get_results_for_spectral_analysis_surfaces_basic_stresses() get_results_for_spectral_analysis_surfaces_basic_total_strains() get_results_for_spectral_analysis_surfaces_contact_stresses() get_results_for_spectral_analysis_surfaces_design_internal_forces() get_results_for_spectral_analysis_surfaces_elastic_stress_components() get_results_for_spectral_analysis_surfaces_equivalent_stresses_bach() get_results_for_spectral_analysis_surfaces_equivalent_stresses_mises() get_results_for_spectral_analysis_surfaces_equivalent_stresses_rankine() get_results_for_spectral_analysis_surfaces_equivalent_stresses_tresca() get_results_for_spectral_analysis_surfaces_equivalent_total_strains_bach() get_results_for_spectral_analysis_surfaces_equivalent_total_strains_mises() get_results_for_spectral_analysis_surfaces_equivalent_total_strains_rankine() get_results_for_spectral_analysis_surfaces_equivalent_total_strains_tresca() get_results_for_spectral_analysis_surfaces_global_deformations() get_results_for_spectral_analysis_surfaces_local_deformations() get_results_for_spectral_analysis_surfaces_maximum_total_strains() get_results_for_spectral_analysis_surfaces_principal_internal_forces() get_results_for_spectral_analysis_surfaces_principal_stresses() get_results_for_spectral_analysis_surfaces_principal_total_strains()

OndraMichal avatar Feb 29 '24 10:02 OndraMichal

I can see the table and get the correct results, but I am not able to switch programmatically between Envelope Y / X (see the first screenshot).

What we are doing now is to run the script once with Umhüllende X set then switch in the UI to Umhüllende Y and run the script again. Then we have both results. But I would like to do that switch programmitcally.

MaximilianFranz avatar Feb 29 '24 11:02 MaximilianFranz

Ok, so this is something we don't support yet. Will have to create ToDo for it.

OndraMichal avatar Mar 01 '24 08:03 OndraMichal

I have the same problem. @MaximilianFranz have you received any response yet ?

jlemeriel avatar Jun 11 '24 14:06 jlemeriel

@MaximilianFranz @jlemeriel
Currently, we've started work to allow this feature in Webservice Core. The HLF part will follow, so let's assume in 2-3 weeks it might be available here.

TomasPail avatar Jun 14 '24 11:06 TomasPail

thx - looking forward.

MaximilianFranz avatar Jun 20 '24 16:06 MaximilianFranz

@MaximilianFranz @jlemeriel Currently, we've started work to allow this feature in Webservice Core. The HLF part will follow, so let's assume in 2-3 weeks it might be available here.

@TomasPail Can you let us know here when theres a testable version of this ready? :) Thanks alot

MaximilianFranz avatar Jun 24 '24 13:06 MaximilianFranz