Optimise cross section [SOLVED]

I’m using Grasshopper to create a model and using Desig.Define to optimize the cross-sections. When I use this function, it only selects from HEA sections. I want it to go through several types of cross-sections—not all, but the ones I choose. How can I get the setting from the Bar design parameters into grasshopper?

Hi! :waving_hand:

Try using the Config component from the ‘Calculate’ tab and the FEM-Design.SetConfigurations component from the ‘StruSoft - LiveLink’ tab. In Config select the ‘SteelBarDesignParameters’ option from the dropdown and then you can specify the utilization limit and the sections for the design.

I’ve attached a sample file to explain better.
sample.gh (23.6 KB)

Let me know if you have further questions.

That worked thank you! Is there a way to check off the “Consider deflections, if available”?

This parameter is not yet implemented in our API. We also need to update the design configuration file (cfg.xml).

There are two ways to set these configurations for the design. One is to use the Configs component, and the other is to use the configuration file (cfg.xml). For more details, see the documentation here: LiveLink | FEM-Design API

Until we implement this checkbox, please use this file:
cfg_cons-defl.xml (133 Bytes)

This file contains the fConsiderDeflection parameter, which you need to set to true if you want to enable the ‘Consider deflection if available’ checkbox.

thank you, that worked :slight_smile:

1 Like