Example with shell reinforcement design in C# [SOLVED]

Hello there,

I am trying to use C# for some automatizion in concrete shell design, but I’m struggling to find examples to guide me. Specifically, I’m unsure about how to input reinforcement parameters for a slab I’m constructing in my code.

Would anyone be able to offer some assistance or guidance on this?"

Ehy @Geni

have a look at the following method/constructor that should help you in getting to achieve what you are looking for!

FemDesign.Reinforcement.SurfaceReinforcement obj = FemDesign.Reinforcement.SurfaceReinforcement.DefineStraightSurfaceReinforcement(region, straight, wire);
FemDesign.Reinforcement.Straight obj = new FemDesign.Reinforcement.Straight(_direction, space, _face, cover);
FemDesign.Shells.Slab obj = FemDesign.Reinforcement.SurfaceReinforcement.AddReinforcementToSlab(slab, surfaceReinforcement, xDir, yDir);

If you want to learn more, have a look at the “reinforcement” folder within femdesign.core repository :slight_smile:

Let me know how it goes and we can further help you

Thanks a lot for the fast answer!
Now, I was able to accomplish it. :slight_smile: