strusoft / femdesign-api

FEM-Design API
https://femdesign-api-docs.onstrusoft.com/
Apache License 2.0
40 stars 20 forks source link

Add the same reinforcement to different bars #1044

Closed lorinczandrea closed 3 months ago

lorinczandrea commented 3 months ago

Issue 🐛

If I add the same reinforcement to different bars, when a new model is created later, an exception is thrown because the same reinforcement (with the same GUID) would be added without an override. By default, override is false when a new model is created.

Solution 🛠️

In this case the same reinforcement GUID should be replaced with a new GUID, and added to the model as a new reinf. object, when the same reinforcement used for different structural elements.