From 91be6c2494519caacda30007474e3d1fb616152b Mon Sep 17 00:00:00 2001 From: peterjamesnugent Date: Thu, 17 Aug 2023 17:16:07 +0100 Subject: [PATCH] Fixed a bug where for MCTs exported from Midas that had no spaces (not the case when pushed from the BHoM) --- MidasCivil_Adapter/PrivateHelpers/GetBarReleaseAssignments.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MidasCivil_Adapter/PrivateHelpers/GetBarReleaseAssignments.cs b/MidasCivil_Adapter/PrivateHelpers/GetBarReleaseAssignments.cs index 52e2bf38..05b9faf0 100644 --- a/MidasCivil_Adapter/PrivateHelpers/GetBarReleaseAssignments.cs +++ b/MidasCivil_Adapter/PrivateHelpers/GetBarReleaseAssignments.cs @@ -50,6 +50,10 @@ private Dictionary> GetBarReleaseAssignments(string section, s Where(x => !string.IsNullOrEmpty(x)). ToList(); } + else + { + geometryAssignments.Add(splitSection.Trim()); + } List propertyAssignment = MidasCivilAdapter.GetAssignmentIds(geometryAssignments);