예제 #1
0
 /// <summary>
 /// Sets the cable section assignments.
 /// </summary>
 /// <param name="model">The model.</param>
 /// <param name="table">The table.</param>
 private static void setCABLE_SECTION_ASSIGNMENTS(Model model, List <Dictionary <string, string> > table)
 {
     foreach (Dictionary <string, string> tableRow in table)
     {
         Cable cable = model.Structure.Cables[tableRow["Cable"]];
         cable.SectionName = tableRow["Section"];
         cable.AddMaterialOverwrite(model.Components.Materials.FillItem(tableRow["MatProp"]));
     }
 }