Skip to content

Commit

Permalink
Correct errors
Browse files Browse the repository at this point in the history
  • Loading branch information
StephennipBH authored and peterjamesnugent committed Sep 16, 2020
1 parent 924f999 commit b1ed348
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Lusas_Adapter/CRUD/Create/Properties/GeometricLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ private IFGeometricLine CreateProfile(ISectionProfile profile, string lusasName)
IFGeometricLine lusasGeometricLine = d_LusasData.createGeometricLine(lusasName);
lusasGeometricLine.setValue("elementType", "3D Thick Beam");

List<double> dimensionList = new List<double> { profile.Height, profile.Width,
List<double> dimensionList = new List<double> { profile.Width, profile.Height,
profile.FlangeThickness, profile.WebThickness, profile.RootRadius};
double[] dimensionArray = dimensionList.ToArray();

List<string> valueList = new List<string> { "D", "B", "tf", "tw", "r" };
List<string> valueList = new List<string> { "B", "D", "tf", "tw", "r" };
string[] valueArray = valueList.ToArray();

int lusasType = 5;
Expand All @@ -250,11 +250,11 @@ private IFGeometricLine CreateProfile(TSectionProfile profile, string lusasName)
IFGeometricLine lusasGeometricLine = d_LusasData.createGeometricLine(lusasName);
lusasGeometricLine.setValue("elementType", "3D Thick Beam");

List<double> dimensionList = new List<double> { profile.Height, profile.Width,
List<double> dimensionList = new List<double> { profile.Width, profile.Height,
profile.FlangeThickness, profile.WebThickness, profile.RootRadius};
double[] dimensionArray = dimensionList.ToArray();

List<string> valueList = new List<string> { "D", "B", "tf", "tw", "r" };
List<string> valueList = new List<string> { "B", "D", "tf", "tw", "r" };
string[] valueArray = valueList.ToArray();

int lusasType = 8;
Expand Down Expand Up @@ -295,12 +295,12 @@ private IFGeometricLine CreateProfile(AngleProfile profile, string lusasName)
lusasGeometricLine.setValue("elementType", "3D Thick Beam");

List<double> dimensionList = new List<double> {
profile.Height, profile.Width, profile.FlangeThickness,
profile.WebThickness, profile.RootRadius, profile.ToeRadius
profile.Height, profile.Width, profile.WebThickness,
profile.FlangeThickness, profile.RootRadius, profile.ToeRadius
};
double[] dimensionArray = dimensionList.ToArray();

List<string> valueList = new List<string> { "D", "B", "tf", "tw", "r1", "r2" };
List<string> valueList = new List<string> { "D", "B", "tw", "tf", "r1", "r2" };
string[] valueArray = valueList.ToArray();

int lusasType = 7;
Expand All @@ -317,11 +317,11 @@ private IFGeometricLine CreateProfile(ChannelProfile profile, string lusasName)
lusasGeometricLine.setValue("elementType", "3D Thick Beam");

Engine.Reflection.Compute.RecordWarning("Toe radius not support for ChannelSection");
List<double> dimensionList = new List<double> { profile.Height, profile.FlangeWidth,
List<double> dimensionList = new List<double> { profile.FlangeWidth, profile.Height,
profile.FlangeThickness, profile.WebThickness, profile.RootRadius};
double[] dimensionArray = dimensionList.ToArray();

List<string> valueList = new List<string> { "D", "B", "tf", "tw", "r" };
List<string> valueList = new List<string> { "B", "D", "tf", "tw", "r" };
string[] valueArray = valueList.ToArray();

int lusasType = 10;
Expand Down

0 comments on commit b1ed348

Please sign in to comment.