Skip to content

Commit 52b30f5

Browse files
author
Fraser Greenroyd
committed
Rename GeterateIdString -> GenerateIDString
1 parent 3b7cc9b commit 52b30f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

GSA_Adapter/Convert/ToGsa/Group.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ private static string ToGsaString<T>(this BH.oM.Base.BHoMGroup<T> group, string
4242
string command = "LIST";
4343
string name = group.Name;
4444
string type = group.IElementType();
45-
string desc = group.Elements.Select(x => int.Parse(x.GSAId().ToString())).GeterateIdString();
45+
string desc = group.Elements.Select(x => int.Parse(x.GSAId().ToString())).GenerateIDString();
4646

4747
return command + ", " + index + ", " + name + ", " + type + ", " + desc;
4848
}
@@ -58,7 +58,7 @@ public static string CreateIdListOrGroupName<T>(this IElementLoad<T> load) where
5858
return "\"" + load.Objects.Name + "\"";
5959

6060
//Otherwise apply to the corresponding indecies
61-
return load.Objects.Elements.SelectMany(x => x.GSAIds()).OrderBy(x => x).GeterateIdString();
61+
return load.Objects.Elements.SelectMany(x => x.GSAIds()).OrderBy(x => x).GenerateIDString();
6262

6363
}
6464

@@ -77,7 +77,7 @@ private static IEnumerable<int> GSAIds(this IBHoMObject obj)
7777

7878
/***************************************************/
7979

80-
public static string GeterateIdString(this IEnumerable<int> ids)
80+
public static string GenerateIDString(this IEnumerable<int> ids)
8181
{
8282
string str = "";
8383

GSA_Adapter/Convert/ToGsa/Loads/AreaLoads.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private static string CreateIdListOrGroupNameAreaLoad(this IElementLoad<IAreaEle
9191
indecies.AddRange(areaLoad.Objects.Elements.Where(x => !(x is FEMesh)).Select(x => x.GSAId()));
9292

9393
//Otherwise apply to the corresponding indecies
94-
return indecies.GeterateIdString();
94+
return indecies.GenerateIDString();
9595
}
9696

9797
/***************************************************/

0 commit comments

Comments
 (0)