Bar element length [SOLVED]

Hi!

I don’t manage to change the number of divisions for bar elements,
and how can I assign different divisions for different parts
VÖN_demo.gh (26.2 KB)
cmdglobalcfgDemo.xml (2.2 KB)
?

Hi Poja!

Solution:
Use the SetGlobalCfg after the OpenModel.

Explanation:
The reason behind your issue is that you open the model after you’ve configured these settings. So what you’re doing is that (1) you create the connection, then a new FD window opens, then (2) you set up the settings (if you disable the OpenModel component, you’ll see, that these settings are there correctly), and then (3) you open the model, which means that a new model opens in the FD window with the default settings (which are different from what you configured in step nr. 2). If you do the same thing manually, FD will behave the same way.

Regarding the second part of your question…
Currently, it is not possible to set different minimum division numbers for different object in the API. I know, it is possible in the software if you go to the ‘Finite lements tab’ > ‘Minimum division number’, and then you can set it to the selected bars. Unfortunately, the API has no connection to this functionality. The GlobalConfigurations only refer to the menu options of Fem-Design > Settings > Calculations.