idea-statica / ideastatica-public

MIT License
24 stars 8 forks source link

Get material propertise by material name #233

Closed kniazmajowiec closed 7 months ago

kniazmajowiec commented 1 year ago

I am working on a plug-in for Grasshopper to generate Idea StatiCa RCS models. I would like user to generate concrete or rebar materials just by referring to its name, instead of providing all strength characteristic.

I have found that while specifying material I can use LoadFromLibrary variable; however, it does not seem to work. In my example, I am trying to get Eurocode Concrete Class C12/15; however, in IOM xml I get Material with this name and all characteristics set to zero.

Firstly, I set settings for european (even though, they are default): image

Secondly, I am trying to set the material by name and LoadFromLibrary to true: image

Finally, I am assigning this material to cross-section: image

As a result I got this in the xml file with IOM: image

I understand that this issue is similar to idea-statica/iom-examples#57 I am using Idea StatiCa version 22.1.

I would be grateful if you could tell me what shall I do to make it work

nathanlukeIDEA commented 1 year ago

Hi @kniazmajowiec,

Thank you for your issue. This is a known problem with Concrete/Reinforcement materials when importing to RCS. We are currently in the process of fixing this.

We will provide an update when working.

Kind Regards Nathan

nathanlukeIDEA commented 7 months ago

This error is now resolved in v23.1. A new RCS API has also been developed. https://developer.ideastatica.com/docs/api/rcs/rcs_api_getting_started.html?tabs=dotnet