We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ad0d4d commit 6bd7841Copy full SHA for 6bd7841
MidasCivil_Engine/Convert/ToBHoM/Elements/FEMesh.cs
@@ -17,9 +17,10 @@ public static FEMesh ToBHoMFEMesh(
17
{
18
List<string> delimitted = feMesh.Split(',').ToList();
19
20
- bhomNodes.TryGetValue(delimitted[4].Trim(), out Node n1);
21
- bhomNodes.TryGetValue(delimitted[5].Trim(), out Node n2);
22
- bhomNodes.TryGetValue(delimitted[6].Trim(), out Node n3);
+ Node n1; Node n2; Node n3;
+ bhomNodes.TryGetValue(delimitted[4].Trim(), out n1);
+ bhomNodes.TryGetValue(delimitted[5].Trim(), out n2);
23
+ bhomNodes.TryGetValue(delimitted[6].Trim(), out n3);
24
25
ISurfaceProperty bhomSurfaceProperty = null;
26
0 commit comments