Set Tendon Cross-Section Parameters

Hello everyone,

I'm having troubles with setting the e_auto and the "Name of Strand" parameters in a Built-Up Steel Tendon Cross-Section. In regards to the e_auto the API reference documentation states that a float is the required input and since the parameter in RFEM is a checkbox I assume a value of 1 would be equivalent to "checking" the box. I was able to confirm this by extracting a manually created tendon cross-section with a checked e_auto parameter (using rfem_app.get_object()), and verifying the value of e_auto which was 1.

However, when I try to replicate this using the API by setting the e_auto to 1 it does not work as expected.

I have tried several options. Firstly, I tried setting the e_auto to True which also did not work. Next I exported an example RFEM model with the desired cross section in order to see how it is created. However, there I saw that the cross-section is simply created by using the specific name and the name attribute. This is not the best option since name of the cross-section is composed of all the different parameters ("-- /19/0.1/0.002/0.0111202"), and specifically the e_auto parameter (last) is automatically calculated by RFEM and put into the name of the cross-section as well.

The code I used can be seen below. The first corss-section is an example from the generated python export file and the second cross-section my attempt to replicate it using the attributes from rfem.structure_core.CrossSection().

    object_list = [
        rfem.structure_core.Material(
            no = 1,
            name= "DYWIDAG Strand Y1860S7-15.7"      
        ),
        #From Python File
        rfem.structure_core.CrossSection(
            no=1,
            type=rfem.structure_core.CrossSection.TYPE_BUILT_UP_STEEL,
            parametrization_type=rfem.structure_core.CrossSection.PARAMETRIZATION_TYPE_BUILT_UP_STEEL__TENDONS__TENDON_BU,
            name="TENDON-S Y1860S7 11.0 | EN 10138-3 | -- /19/0.1/0.002/0.0111202",
            material=1
        ),

        rfem.structure_core.CrossSection(
            no=2,
            type=rfem.structure_core.CrossSection.TYPE_BUILT_UP_STEEL,
            parametrization_type=rfem.structure_core.CrossSection.PARAMETRIZATION_TYPE_BUILT_UP_STEEL__TENDONS__TENDON_BU,
            material=1,
            n_s = 19,
            d_duct_i = 0.1,
            t_duct = 0.002,
            e_auto= 1.0
        )
        ]

    rfem_app.create_object_list(object_list)

and this is a screenshot from RFEM

As for the Name of Strand I was unable to find a way to control it apart from the name attribute. Any suggestions with either would be much appreciated

Thank you all in advance.

Hi ibrahim_sinan,

may I ask you to send me the RFEM-file with the Cross-Sections you want to create?

Since I do not know where your tendon project ends up, this might be an interessting topic for you: Tendon Profile in RFEM 6 - Dlubal Community.

Best regards
Robert Milrath

1 Like

Hello Robert, I have sent you a message with the RFEM file but I will also upload it here.

Example Tendon Cross-section.rf6 (978.0 KB)

Hi ibrahim_sinan,

I’ve just seen that you’ve also sent me a private message. To ensure that other users in the community can follow this thread, please avoid sending private messages wherever possible. Of course, sometimes there’s no other option, for example if you have a model that isn’t meant to be shared with the general public.
Regardless of that, I’ve had a look at the RF6 files. Unfortunately, I can’t work with the two cross-sections as I get an error message when I try to open them. Please take another look at the file and send it back to me with the cross-sections that work. Then I can try to recreate them via the API.

Best regards
Robert Milrath

Hi Robert,

Thanks for looking into this. I'm not sure what the issue could be as they seem to work normally for me. Regardless, I have created a new file with the cross-sections that I'm sharing here. I hope this one works.

Best Regards
Example Tendon Cross-sections 2.rf6 (1.6 MB)

1 Like