From cdd01627b51a3dd158c289a7c1cd91f31111db74 Mon Sep 17 00:00:00 2001 From: Tom Kingstone Date: Tue, 15 Sep 2026 15:10:47 +0100 Subject: [PATCH 1/2] potential fix for SimulationResult versioning issue --- BHoMUpgrades/CustomUpgrades/v93.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/BHoMUpgrades/CustomUpgrades/v93.cs b/BHoMUpgrades/CustomUpgrades/v93.cs index 9d339fe..54a6835 100644 --- a/BHoMUpgrades/CustomUpgrades/v93.cs +++ b/BHoMUpgrades/CustomUpgrades/v93.cs @@ -171,6 +171,19 @@ public static Dictionary UpgradePlacementSettings(Dictionary UpgradeSimulationResult(Dictionary oldVersion) + { + Dictionary newVersion = new Dictionary(oldVersion); + + if (!newVersion.ContainsKey("Identifier")) + { + newVersion.Add("Identifier", oldVersion["Name"]); + } + } + /***************************************************/ /**** Private Methods ****/ /***************************************************/ @@ -203,5 +216,6 @@ private static Dictionary FlattenBaseSettings(Dictionary Date: Tue, 15 Sep 2026 15:26:08 +0100 Subject: [PATCH 2/2] oops --- BHoMUpgrades/CustomUpgrades/v93.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BHoMUpgrades/CustomUpgrades/v93.cs b/BHoMUpgrades/CustomUpgrades/v93.cs index 54a6835..8451a4a 100644 --- a/BHoMUpgrades/CustomUpgrades/v93.cs +++ b/BHoMUpgrades/CustomUpgrades/v93.cs @@ -181,7 +181,10 @@ public static Dictionary UpgradeSimulationResult(Dictionary