Skip to content

Commit b1ed348

Browse files
StephennipBHpeterjamesnugent
authored andcommitted
Correct errors
1 parent 924f999 commit b1ed348

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Lusas_Adapter/CRUD/Create/Properties/GeometricLine.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,11 @@ private IFGeometricLine CreateProfile(ISectionProfile profile, string lusasName)
230230
IFGeometricLine lusasGeometricLine = d_LusasData.createGeometricLine(lusasName);
231231
lusasGeometricLine.setValue("elementType", "3D Thick Beam");
232232

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

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

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

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

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

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

297297
List<double> dimensionList = new List<double> {
298-
profile.Height, profile.Width, profile.FlangeThickness,
299-
profile.WebThickness, profile.RootRadius, profile.ToeRadius
298+
profile.Height, profile.Width, profile.WebThickness,
299+
profile.FlangeThickness, profile.RootRadius, profile.ToeRadius
300300
};
301301
double[] dimensionArray = dimensionList.ToArray();
302302

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

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

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

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

327327
int lusasType = 10;

0 commit comments

Comments
 (0)