Import custom section, save error [SOLVED]

Hi

I’m working on a project that requires a lot of custom defined sections, which is created from a GH-surface input:

This works just fine, when i run FEM-design through the API-connection - all sections correctly appear in the model, and the model runs. However, when the model is saved and opened like you would with a regular model, 415 sections are missing, and the elements are deleted.
(415 out of 1439, meaning i only get 1024 sections)

To solve this we have tried to store the custom sections and import them before opening the model.

However, the error remains.. Even though the section now correctly appears in the FD section library.

I’m suspecting that the custom section library might be capped? Or the .struXML?
The 1024 elements could indicate a bit-limit of sorts?

Best Regards
Thomas Aamand

Hello

We managed to solve this, by splitting the custom-sections into two groups.
(~700 in each)

It seems the limit is within FD itself. A maximum of 1024 unique sections can exit in the same “type-level”.

Topic can be set as [solved].

Hi! :waving_hand:

Indeed, Fem-Design can only load 1024 user-defined unique sections when using an .str model file. I’ve reported this to the FD development.

However, this only happens when using the .str extension. With .struxml it works fine and loads all of the objects, which can be more than 1024. This is why you could open the whole model through the API.

Unless you have a specific reason to choose the .str, you can use the struxml extension to store the data or just split up the model, as you solved it before.

1 Like