Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: TableExportConfigManager Updated but not used when exporting #313

Open
gvandewiel86 opened this issue Nov 13, 2023 · 6 comments
Open
Assignees
Labels
bug Existing feature isn't working properly

Comments

@gvandewiel86
Copy link

Describe the bug
After a lot of experiments and testing i finally got the TableExportConfigManager working and have added a second (id=2) setup which should only export the Member Internal Forces by Section. It is set as the default config, however when i run the the ExportResultTablesWithDetaliedMembersResultsToXML function as provided by the RFEM Client it does not honor the settings.

As far as i can both in SOAP as in the Python files there is no option to force the use of Config with id=2.

To Reproduce

from RFEM.initModel import Model
from RFEM.ImportExport.exports import ExportResultTablesWithDetaliedMembersResultsToXML as ExportXML

Model(False,'CAL-2158-003-001-A Truss members')
print('Connected to Model')

print('Export Results to XML')
ExportXML('test.xml')

Expected behavior
I am aware that the requested results are part of the output file, however in the case we are looking at we will be exporting a large model (~2000 members) and approximately 400 load combinations resulting in 800-900 MB file when exporting directly from RFEM.
With all the additional output the will grow to huge sizes which is to be parsed externally.

i would expect that the default config is followed by Webservices as is when exporting the tables using RFEM.
If this is not the case i would expect to see an option the forcibly select an export config.

Expected results

<?xml version="1.0" encoding="UTF-8"?>
<document name="CAL-2158-003-001-A Truss members">
    <results>
        <load_combination>
            <no>1</no>
            <E_MODEL_MEMBERS_INTERNAL_FORCES_BY_SECTION>
                <item>
                    <member_number>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</member_number>
                    <node_number>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</node_number>
                    <location>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</location>
                    <internal_force_label>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</internal_force_label>
                    <internal_force_n>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</internal_force_n>
                    <internal_force_vy>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</internal_force_vy>
                    <internal_force_vz>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</internal_force_vz>
                    <internal_force_mt>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</internal_force_mt>
                    <internal_force_my>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</internal_force_my>
                    <internal_force_mz>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</internal_force_mz>
                    <dummy>CHS 508/20.6/H | 1 - Carbon steel (pipes and tubes) API 5L, Grade X80 | ASME B31.3-2010</dummy>
                </item>
                <item>
                    <member_number>1775</member_number>
                    <node_number>765</node_number>
                    <location>0</location>
                    <internal_force_n>-5.88987e+06</internal_force_n>
                    <internal_force_vy>2065.65</internal_force_vy>
                    <internal_force_vz>16069</internal_force_vz>
                    <internal_force_mt>-731.612</internal_force_mt>
                    <internal_force_my>-480.496</internal_force_my>
                    <internal_force_mz>-27539.8</internal_force_mz>
                </item>

Actual Results

<?xml version="1.0" encoding="UTF-8"?>
<document name="CAL-2158-003-001-A Truss members.rf6">
    <results>
        <load_combination>
            <no>1</no>
            <E_MODEL_SUMMARY>
                <item>
                    <description>Sum of loads and the sum of support forces</description>
                </item>
                <item>
                    <description>Sum of loads in X</description>
                    <value>0.00075</value>
                    <units>kN</units>
                </item>

A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

************************************************************************
* Platform                    Windows-10-10.0.22621-SP0 (64bit)        *
* Python version              3.11.1                                   *
* RFEM Program version        6.04.0002                       *
* RFEM Python Package version 1.18.0                                   *
* Current filename            functions.py                             *
************************************************************************

Additional context
Your soonest reply is highly appreciated as our project is currently on hold awaiting your response.

@gvandewiel86 gvandewiel86 added the bug Existing feature isn't working properly label Nov 13, 2023
@gvandewiel86
Copy link
Author

This morning i had another idea it to just overwrite the Default export profile with the desired settings, i.e. there is only 1 profile available when manually running the export tables command from RFEM (GUI).

Again when running Export Tables from the RFEM GUI, the XML file shows exactly what has been selected in the export menu. However when running the either of the following commands:

  • ExportResultTablesWithDetaliedMembersResultsToXML
  • ExportResultTablesToXML

The output file shows something that is did not select (see first post)

@OndraMichal
Copy link
Contributor

Hi @gvandewiel86,
your comment seems correct. Since there is no way to set the Table Export Selector Options it should be respected when calling ExportResultTables... functions or function to set these options should be added.

@OndraMichal OndraMichal self-assigned this Dec 15, 2023
@gvandewiel86
Copy link
Author

Hi @OndraMichal,

are you referring to the options that i need to manually set when using the GUI (e.g. selecting load combinations, etc) or selecting the correct "export profile".

As we are currently performing a manual export every time we ran the calculations, i would be happy to have a (hacky) work-around or to modify the default "export profile" and export results for all load cases and combinations.

Howwever it seems to not respect the settings in the default profile (made in the GUI) so am i correct to assume that it uses some "hard coded" export setting which is not controllable by the user in any way?

@OndraMichal
Copy link
Contributor

Hi,
bug #163283 was created.

@gvandewiel86
Copy link
Author

Hi, bug #163283 was created.

Hi,

is there any news on this bug? And where can i keep track of this bug? I could not find the bug number in the Dlubal extranet website or here on Github?

@heetrojivadiya
Copy link
Member

Hi, bug #163283 was created.

Hi,

is there any news on this bug? And where can i keep track of this bug? I could not find the bug number in the Dlubal extranet website or here on Github?

Hey @gvandewiel86, the bug #163283 is converted to ToDo #15402 and it will be completed as soon as possible. Thank you for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing feature isn't working properly
Projects
None yet
Development

No branches or pull requests

3 participants