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".
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!
Solved! Go to Solution.
Solved by Rafal.Gaweda. Go to Solution.
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