How to run 2 opti-cro-sec in the same time

Good evening

Simplifying I have to optimize a simply supported beam with the left side in steel and the right side in concrete. The peculiarity of the thing is that the steel cross-sections are different from the concrete cross-sections.

I tried to optimize the steel part first and then connect the optimized model to the optimizer for the concrete part, but this is not how I want to do it, because the result is wrong.
I want to optimize both at the same time. how can I do?

thanks for your answer


Hi, you can optimise both elements at the same time by setting different to sets of cross sections with different family names - one for the steel and one for the concrete profiles. Then you should assign the concrete and steel cross section to the separate beam elements, an the optimisation will optimise for both beams, but only in their specific family of cross sections.


try both optimization - mt.gh (36.0 KB)

actually, the script was working properly its just that your cross sections have the same name so you do not notice the different. Also its best if you set the starting cross section to be the smallest profile