diff --git a/Lusas_Adapter/CRUD/Create/Properties/GeometricLine.cs b/Lusas_Adapter/CRUD/Create/Properties/GeometricLine.cs index 4566cd15..589e0d22 100644 --- a/Lusas_Adapter/CRUD/Create/Properties/GeometricLine.cs +++ b/Lusas_Adapter/CRUD/Create/Properties/GeometricLine.cs @@ -230,11 +230,11 @@ private IFGeometricLine CreateProfile(ISectionProfile profile, string lusasName) IFGeometricLine lusasGeometricLine = d_LusasData.createGeometricLine(lusasName); lusasGeometricLine.setValue("elementType", "3D Thick Beam"); - List dimensionList = new List { profile.Height, profile.Width, + List dimensionList = new List { profile.Width, profile.Height, profile.FlangeThickness, profile.WebThickness, profile.RootRadius}; double[] dimensionArray = dimensionList.ToArray(); - List valueList = new List { "D", "B", "tf", "tw", "r" }; + List valueList = new List { "B", "D", "tf", "tw", "r" }; string[] valueArray = valueList.ToArray(); int lusasType = 5; @@ -250,11 +250,11 @@ private IFGeometricLine CreateProfile(TSectionProfile profile, string lusasName) IFGeometricLine lusasGeometricLine = d_LusasData.createGeometricLine(lusasName); lusasGeometricLine.setValue("elementType", "3D Thick Beam"); - List dimensionList = new List { profile.Height, profile.Width, + List dimensionList = new List { profile.Width, profile.Height, profile.FlangeThickness, profile.WebThickness, profile.RootRadius}; double[] dimensionArray = dimensionList.ToArray(); - List valueList = new List { "D", "B", "tf", "tw", "r" }; + List valueList = new List { "B", "D", "tf", "tw", "r" }; string[] valueArray = valueList.ToArray(); int lusasType = 8; @@ -295,12 +295,12 @@ private IFGeometricLine CreateProfile(AngleProfile profile, string lusasName) lusasGeometricLine.setValue("elementType", "3D Thick Beam"); List dimensionList = new List { - 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 valueList = new List { "D", "B", "tf", "tw", "r1", "r2" }; + List valueList = new List { "D", "B", "tw", "tf", "r1", "r2" }; string[] valueArray = valueList.ToArray(); int lusasType = 7; @@ -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 dimensionList = new List { profile.Height, profile.FlangeWidth, + List dimensionList = new List { profile.FlangeWidth, profile.Height, profile.FlangeThickness, profile.WebThickness, profile.RootRadius}; double[] dimensionArray = dimensionList.ToArray(); - List valueList = new List { "D", "B", "tf", "tw", "r" }; + List valueList = new List { "B", "D", "tf", "tw", "r" }; string[] valueArray = valueList.ToArray(); int lusasType = 10;