dlubal-software / RFEM_Python_Client

Python client (or high-level functions) for RFEM 6 using Web Services, SOAP and WSDL
https://dlubal-software.github.io/.github/
MIT License
71 stars 27 forks source link

BUG: Accessing SpectralAnalysisMembersInternalForces for different Envelopes not possible #336

Closed MaximilianFranz closed 4 months ago

MaximilianFranz commented 9 months ago

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

OndraMichal commented 8 months ago

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()

MaximilianFranz commented 8 months ago

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.

OndraMichal commented 8 months ago

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

jlemeriel commented 5 months ago

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

TomasPail commented 5 months ago

@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.

MaximilianFranz commented 5 months ago

thx - looking forward.

MaximilianFranz commented 5 months ago

@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