Multilayer surface using Dlubal API with RFEM 6

Hello,

I’m trying to create a multilayer thickness using the RFEM 6 API, but I’m not being able to set the layers in the ‘Layers’ tab. I thought it would be by using the ‘layers_reference_table’ atribute of the Thickness object. My code is as follows:

        thickness_multilayer = rfem.structure_core.Thickness(

            no=6,

            name="Multilayer Thickness",

            type=rfem.structure_core.Thickness.Type.TYPE_LAYERS,

            layers_reference_table=rfem.structure_core.Thickness.LayersReferenceTable(

                rows=

                [

                    rfem.structure_core.Thickness.LayersReferenceTableRow(

                        layer_no=1,

                        no=4

                    ),

                    rfem.structure_core.Thickness.LayersReferenceTableRow(

                        layer_no=2,

                        no=5

                    ),

                    rfem.structure_core.Thickness.LayersReferenceTableRow(

                        layer_no=3,

                        no=5

                    ),

                    rfem.structure_core.Thickness.LayersReferenceTableRow(

                        layer_no=4,

                        no=4

                    )

                ]

        ))

It shows no error when creating the object and a multilayer Thickness is created, but the layers in the ‘Layers’ tab are empty:

image

I would like to know if this functionality is already implemented and if so how is it supposed to be set?

Best regards,

Pedro.

Hi Pedro_Guimaraes,

can you provide me a small rf6-file with the thickness you want to achieve?

Thank you.

Best regards
Robert Milrath

Hello @robert.milrath

Sure, please find it attached. I’m trying to create the thickness in the picture.

thickness_test.rf6 (1,1,MB)

Hi Pedro_Guimaraes,

this is a gap in the API and is already reported to the dev team (Todo 27928). We will let you know via the usual channels once this issue has been resolved.

Best regards
Robert Milrath

Ok, thank you!

Best regards,

Pedro