idea-statica / iom-examples

Examples of using IDEA StatiCa IOM API
MIT License
8 stars 4 forks source link

[QUESTION]Material Class - LoadFromLibrary #57

Closed EricDuongED closed 3 years ago

EricDuongED commented 3 years ago

When we specify the property LoadFromLibrary to true for a certain material, how do we specify which material we want to load from IDEA StatiCa?

I've tried naming the material as a string, i.e., "300W" for a MatSteelCISC class; however, the output file always gives me A36

mpospisil commented 3 years ago

can you provide me a snippet of your code where you define your material

EricDuongED commented 3 years ago

The current string for the the beam/column/plate grades is "350W". image

And then once the material is generated in the model, I pass "350W" into this method to create the cross section image

mpospisil commented 3 years ago

Do you have the correct setting of the design code for your project ? I mean if you open your generated project in ideaconnection.exe - what is the design code for the project ?

EricDuongED commented 3 years ago

Design code should bet set to the Canadian code, when I open up the project, it shows CISC which should be correct.

image

mpospisil commented 3 years ago

Hi Eric,

You have found the bug - it will be fixed in the next pathch (IS 20.1.2). Your code seems to be fine.

Martin

mpospisil commented 3 years ago

adding bug #2485 to DevOps

mpospisil commented 3 years ago

fixed in version 21.0.0.2340

https://jurajsabatkaideastatica-my.sharepoint.com/:f:/g/personal/martin_pospisil_ideastatica_com/EnyVy8RZmedPghx0FcCwoP4BtmJpUuP0x9OTbpRiWP9o0A?e=fb3etS