EnSimpleBeamDesign - HiStructClient/femcad-doc GitHub Wiki

In each FEM analysis, FemCad is capable of designing a least sufficient section (section with OK check closest to 1.00). The designed section is picked-up from a list of available sections. To get the designed value, array AvailableSections must be defined in SimpleBeamPartClass. The list AvailableSections should be sorted by desired value. Design is calculated in EnSimpleBeamDesign:

myDesignClass := res.En.Steel.SimpleBeamDesign{
      BeamCheckClass := myEnCheckClass,
      BeamChecks     := myEnChecks,
   }.designedSection

Output from myDesignClass could look like this:

{IsDesigned = True,
 DesignedSection = BaseCss{
   Name=UG 38x38x1.6,Label=UG,38x38x1.6,BomName=HW151516,RawName=HT383816,Section=...},
 IndexInAvailableSections = 1}

Its recommended to encapsulate the SimpleBeamDesign call to a function in order not to call it unnecessarily and thus cause speed issue. Keep in mind that change of section after analysis could affect the structure stiffnes and thus internal forces.