Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API C# Case Nature and Subnature

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
602 Views, 1 Reply

API C# Case Nature and Subnature

Hello,

 

Can anyone suggest me how the C# code should look like in order to fill 2 comboboxes with available types of Load Case Nature (1st Combobox) and Subnature (2nd Combobox). Design Code "СП 20.13330.2011".

 

Pic.png

 

Found similar code from example in "Robot SDK" for sections, but haven't suceeded in modifying it for desirable purpose:

            // fill combo-boxes with names of bar sections available in Robot
            IRobotNamesArray inames = iapp.Project.Structure.Labels.GetAvailableNames(IRobotLabelType.I_LT_BAR_SECTION);
            for (int i = 1; i < inames.Count; ++i)
            {
                comboColumns.Items.Add(inames.Get(i));
                comboBeams.Items.Add(inames.Get(i));
            }
            comboBeams.SelectedIndex = 0;
            comboColumns.SelectedIndex = 0;

 Thanks in advance!

1 REPLY 1
Message 2 of 2
Rafal.Gaweda
in reply to: Anonymous

Here you will find example how to get natures and subnatures

 

http://forums.autodesk.com/t5/Autodesk-Robot-Structural/Editing-load-cases-in-excel-API/td-p/3320573... - message 17

 

so it should help you to feed listbox



Rafal Gaweda

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report