diff --git a/BHoMUpgrades/CustomUpgrades/v93.cs b/BHoMUpgrades/CustomUpgrades/v93.cs index 9d339fe..8451a4a 100644 --- a/BHoMUpgrades/CustomUpgrades/v93.cs +++ b/BHoMUpgrades/CustomUpgrades/v93.cs @@ -171,6 +171,22 @@ public static Dictionary UpgradePlacementSettings(Dictionary UpgradeSimulationResult(Dictionary oldVersion) + { + Dictionary newVersion = new Dictionary(oldVersion); + + if (!newVersion.ContainsKey("Identifier")) + { + newVersion.Add("Identifier", oldVersion["Name"]); + newVersion["Name"] = ""; + } + + return newVersion; + } + /***************************************************/ /**** Private Methods ****/ /***************************************************/ @@ -203,5 +219,6 @@ private static Dictionary FlattenBaseSettings(Dictionary