Skip to content

Commit

Permalink
Align with changes in Structure_Engine
Browse files Browse the repository at this point in the history
  • Loading branch information
IsakNaslundBh authored and Fraser Greenroyd committed Jan 26, 2022
1 parent edb9a31 commit fd21ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GSA_Adapter/Convert/FromGsa/Loads/Loadcase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static Loadcase FromGsaLoadcase(string gsaString)
return null;

LoadNature loadNature = BHoMLoadNature(gStr[3]);
Loadcase lCase = Engine.Structure.Create.Loadcase(gStr[2], int.Parse(gStr[1]), loadNature);
Loadcase lCase = new Loadcase { Name = gStr[2], Number = int.Parse(gStr[1]), Nature = loadNature };

int lCasenum = 0;

Expand Down
2 changes: 1 addition & 1 deletion GSA_Adapter/Convert/ToGsa/Elements/Node.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static List<string> ToGsaString(this Node node, string index)
string name = node.TaggedName().ToGSACleanName();

string restraint = GetRestraintString(node);
Point position = node.Position();
Point position = node.Position;

string axisString;
string axisId = GetAndCreateAxis(node, out axisString);
Expand Down

0 comments on commit fd21ed2

Please sign in to comment.