diff --git a/.ci/code/TestRunner/TestRunner.csproj b/.ci/code/TestRunner/TestRunner.csproj index 8569768..15c737c 100644 --- a/.ci/code/TestRunner/TestRunner.csproj +++ b/.ci/code/TestRunner/TestRunner.csproj @@ -2,8 +2,10 @@ Exe - net8.0 -https://github.com/BHoM/Versioning_Toolkit + net8.0-windows + true + true + https://github.com/BHoM/Versioning_Toolkit enable enable diff --git a/.ci/code/Versioning_Test/Datasets/8.3/Datasets.txt b/.ci/code/Versioning_Test/Datasets/8.3/Datasets.txt index 8d6a4f0..ccfb251 100644 --- a/.ci/code/Versioning_Test/Datasets/8.3/Datasets.txt +++ b/.ci/code/Versioning_Test/Datasets/8.3/Datasets.txt @@ -137,6 +137,7 @@ LifeCycleAssessment\WasteRates\ASHRAE Standard Waste Rates LifeCycleAssessment\WasteRates\RICS Standard Waste Rates MEP\PlumbingFixtureFlow_LEED MEP\PlumbingFixtureUsage_LEED +Planning\Labels\IssueLabels Revit\FamilyMaps\BHoM Default FamilyMaps Revit\ParameterMaps\BHoM Default ParameterMaps Revit\ParameterMaps\BuroHappold Default ParameterMaps diff --git a/.ci/code/Versioning_Test/Verify/FromJson.cs b/.ci/code/Versioning_Test/Verify/FromJson.cs index eb40e8e..b689538 100644 --- a/.ci/code/Versioning_Test/Verify/FromJson.cs +++ b/.ci/code/Versioning_Test/Verify/FromJson.cs @@ -30,6 +30,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; +using System.Reflection; using System.Text.RegularExpressions; namespace BH.Test.Versioning @@ -43,19 +44,29 @@ public static partial class Verify public static TestResult FromJsonDatasets(bool testAll = false) { string testFolder = @"C:\ProgramData\BHoM\Datasets\TestSets\Versioning"; + string failureDumpDir = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); + + return FromJsonDatasets(testAll, testFolder, failureDumpDir); + } + + /*************************************/ + + public static TestResult FromJsonDatasets(bool testAll, string testFolder, string failureDumpDir) + { List versions = new List { "9.3" }; if (testAll) versions.AddRange(new List { "9.2", "9.1", "9.0", "8.3", "8.2", "8.1", "8.0", "7.3", "7.2", "7.1", "7.0", "6.3", "6.2", "6.1", "6.0", "5.3", "5.2", "5.1", "5.0", "4.3", "4.2", "4.1", "4.0", "3.3" }); string exceptions = "Grasshopper|Rhinoceros"; - string failureDumpDir = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); - Directory.CreateDirectory(failureDumpDir); - if (versions.Count == 1) - Console.WriteLine($"Failures are dumped in {failureDumpDir} directory."); - else - Console.WriteLine($"Multiple versions are being tested, failures per each are dumped in a correspondent subfolder of {failureDumpDir} directory."); - + if (!string.IsNullOrWhiteSpace(failureDumpDir)) + { + Directory.CreateDirectory(failureDumpDir); + if (versions.Count == 1) + Console.WriteLine($"Failures are dumped in {failureDumpDir} directory."); + else + Console.WriteLine($"Multiple versions are being tested, failures per each are dumped in a correspondent subfolder of {failureDumpDir} directory."); + } // Test all the BHoM versions available List results = new List(); foreach (string version in versions) @@ -64,7 +75,7 @@ public static TestResult FromJsonDatasets(bool testAll = false) if (!string.IsNullOrWhiteSpace(dumpDir) && versions.Count > 1) dumpDir = Path.Combine(dumpDir, version); - results.Add(FromJsonDataset(Path.Combine(testFolder, version), exceptions, failureDumpDir)); + results.Add(FromJsonDataset(Path.Combine(testFolder, version), exceptions, dumpDir)); } // Generate the result message @@ -184,7 +195,7 @@ public static TestResult FromJsonDataset(string testFolder, string exceptions = Directory.CreateDirectory(failureDumpDir); foreach ((string, List) failure in failures) { - File.WriteAllLines(Path.Combine(failureDumpDir, $"{failure.Item1}.txt"), failure.Item2); + File.WriteAllLines(Path.Combine(failureDumpDir, $"{failure.Item1}.json"), failure.Item2); } } catch (Exception ex) diff --git a/BHoMUpgrades/CustomUpgrades/v92.cs b/BHoMUpgrades/CustomUpgrades/v92.cs index 37470d6..ca7ab59 100644 --- a/BHoMUpgrades/CustomUpgrades/v92.cs +++ b/BHoMUpgrades/CustomUpgrades/v92.cs @@ -59,5 +59,25 @@ public static Dictionary UpgradeSearchSettings(Dictionary UpgradeContextElement(Dictionary oldVersion) + { + if (oldVersion == null) + return null; + + Dictionary newVersion = new Dictionary(oldVersion); + + // VisibleCutPolylines became a required constructor parameter once the context elements were made immutable + if (!newVersion.ContainsKey("VisibleCutPolylines")) + newVersion["VisibleCutPolylines"] = new List(); + + return newVersion; + } + + /***************************************************/ } } \ No newline at end of file diff --git a/BHoMUpgrades/Upgrades/v40.json b/BHoMUpgrades/Upgrades/v40.json index 4b33011..b6a14b6 100644 --- a/BHoMUpgrades/Upgrades/v40.json +++ b/BHoMUpgrades/Upgrades/v40.json @@ -1662,6 +1662,15 @@ "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Diffing.Query, Diffing_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null\" }", "MethodName": "DifferentProperties", "Parameters": [ "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\" }", "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\" }", "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Diffing.DiffingConfig\" }" ] + }, + "BH.Engine.Reflection.Query.Description(System.Type, BH.oM.Quantities.Attributes.QuantityAttribute)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Reflection.Query, Reflection_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null\" }", + "MethodName": "Description", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Type, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Base.Attributes.ClassificationAttribute\" }" + ] } }, "ToOld": { diff --git a/BHoMUpgrades/Upgrades/v43.json b/BHoMUpgrades/Upgrades/v43.json index ea8fb20..68c823c 100644 --- a/BHoMUpgrades/Upgrades/v43.json +++ b/BHoMUpgrades/Upgrades/v43.json @@ -1,10 +1,10 @@ { "Namespace": { "ToNew": { - "BH.oM.Structure.SectionProperties.Reinforcement": "BH.oM.Structure.Reinforcement" + }, "ToOld": { - + } }, "Type": { @@ -19,7 +19,11 @@ "BH.oM.Adapters.Revit.Parameters.ElementTypeParameterLink": "BH.oM.Adapters.Revit.Mapping.ElementTypeParameterLink", "BH.oM.Adapters.Revit.Parameters.IParameterLink": "BH.oM.Adapters.Revit.Mapping.IParameterLink", "BH.oM.Adapters.Revit.Parameters.ParameterMap": "BH.oM.Adapters.Revit.Mapping.ParameterMap", - "BH.oM.Revit.Parameters": "BH.oM.Adapters.Revit.Parameters" + "BH.oM.Revit.Parameters": "BH.oM.Adapters.Revit.Parameters", + "BH.oM.Structure.SectionProperties.Reinforcement.BarRebarIntent": "BH.oM.Structure.Reinforcement.BarRebarIntent", + "BH.oM.Structure.SectionProperties.Reinforcement.IBarReinforcement": "BH.oM.Structure.Reinforcement.IBarReinforcement", + "BH.oM.Structure.SectionProperties.Reinforcement.LongitudinalReinforcement": "BH.oM.Structure.Reinforcement.LongitudinalReinforcement", + "BH.oM.Structure.SectionProperties.Reinforcement.TransverseReinforcement": "BH.oM.Structure.Reinforcement.TransverseReinforcement" }, "ToOld": { "BH.oM.CFD.Harpoon.HarpoonRunMode": "BH.oM.CFD.Enums.HarpoonRunMode", @@ -32,7 +36,11 @@ "BH.oM.Adapters.Revit.Mapping.ElementTypeParameterLink": "BH.oM.Adapters.Revit.Parameters.ElementTypeParameterLink", "BH.oM.Adapters.Revit.Mapping.IParameterLink": "BH.oM.Adapters.Revit.Parameters.IParameterLink", "BH.oM.Adapters.Revit.Mapping.ParameterMap": "BH.oM.Adapters.Revit.Parameters.ParameterMap", - "BH.oM.Adapters.Revit.Parameters": "BH.oM.Revit.Parameters" + "BH.oM.Adapters.Revit.Parameters": "BH.oM.Revit.Parameters", + "BH.oM.Structure.Reinforcement.BarRebarIntent": "BH.oM.Structure.SectionProperties.Reinforcement.BarRebarIntent", + "BH.oM.Structure.Reinforcement.IBarReinforcement": "BH.oM.Structure.SectionProperties.Reinforcement.IBarReinforcement", + "BH.oM.Structure.Reinforcement.LongitudinalReinforcement": "BH.oM.Structure.SectionProperties.Reinforcement.LongitudinalReinforcement", + "BH.oM.Structure.Reinforcement.TransverseReinforcement": "BH.oM.Structure.SectionProperties.Reinforcement.TransverseReinforcement" } }, "Method": { @@ -669,6 +677,66 @@ "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Structure.Reinforcement.BarRebarIntent\", \"_bhomVersion\" : \"4.3\" }" ], "_bhomVersion": "4.3" + }, + "BH.Engine.Facade.Compute.AdjacentElements(BH.oM.Dimensional.IElement1D, System.Collections.Generic.List)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Facade.Compute, Facade_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"4.3\" }", + "MethodName": "AdjacentElements", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Dimensional.IElement1D\", \"_bhomVersion\" : \"4.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Dimensional.IElement2D\", \"_bhomVersion\" : \"4.3\" }], \"_bhomVersion\" : \"4.3\" }" + ], + "_bhomVersion": "4.3" + }, + "BH.Engine.Facade.Compute.AdjacentElements(BH.oM.Dimensional.IElement2D, System.Collections.Generic.List)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Facade.Compute, Facade_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"4.3\" }", + "MethodName": "AdjacentElements", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Dimensional.IElement2D\", \"_bhomVersion\" : \"4.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Dimensional.IElement2D\", \"_bhomVersion\" : \"4.3\" }], \"_bhomVersion\" : \"4.3\" }" + ], + "_bhomVersion": "4.3" + }, + "BH.Engine.Facade.Compute.AdjacentElements(BH.oM.Dimensional.IElement1D, System.Collections.Generic.List)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Facade.Compute, Facade_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"4.3\" }", + "MethodName": "AdjacentElements", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Dimensional.IElement1D\", \"_bhomVersion\" : \"4.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Dimensional.IElement1D\", \"_bhomVersion\" : \"4.3\" }], \"_bhomVersion\" : \"4.3\" }" + ], + "_bhomVersion": "4.3" + }, + "BH.Engine.Facade.Compute.EdgeAdjacencies(BH.oM.Dimensional.IElement1D, System.Collections.Generic.List, System.Double)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Facade.Compute, Facade_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"4.3\" }", + "MethodName": "EdgeAdjacencies", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Dimensional.IElement1D\", \"_bhomVersion\" : \"4.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Dimensional.IElement2D\", \"_bhomVersion\" : \"4.3\" }], \"_bhomVersion\" : \"4.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"4.3\" }" + ], + "_bhomVersion": "4.3" + }, + "BH.Engine.Facade.Compute.FacadeAreasByConstruction(System.Collections.Generic.List)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Facade.Compute, Facade_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"4.3\" }", + "MethodName": "FacadeAreasByConstruction", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Facade.IFacadeObject\", \"_bhomVersion\" : \"4.3\" }], \"_bhomVersion\" : \"4.3\" }" + ], + "_bhomVersion": "4.3" + }, + "BH.Engine.Facade.Compute.UniqueAdjacencies(System.Collections.Generic.List, System.Boolean)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Facade.Compute, Facade_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"4.3\" }", + "MethodName": "UniqueAdjacencies", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Dimensional.IElement2D\", \"_bhomVersion\" : \"4.3\" }], \"_bhomVersion\" : \"4.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"4.3\" }" + ], + "_bhomVersion": "4.3" } }, "ToOld": { diff --git a/BHoMUpgrades/Upgrades/v60.json b/BHoMUpgrades/Upgrades/v60.json index 2c6fb72..987757c 100644 --- a/BHoMUpgrades/Upgrades/v60.json +++ b/BHoMUpgrades/Upgrades/v60.json @@ -27,7 +27,7 @@ "BH.Adapter.GSA.GSAAdapter(System.String, BH.oM.Adapters.GSA.GSAConfig, System.Boolean)": { "_t": "System.Reflection.MethodBase", "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Adapter.GSA.GSA87Adapter, GSA87_Adapter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.0\" }", - "MethodName": "GSA87Adapter", + "MethodName": ".ctor", "Parameters": [ "{ \"_t\" : \"System.Type\", \"Name\" : \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.0\" }", "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Adapters.GSA.GSAConfig\", \"_bhomVersion\" : \"6.0\" }", diff --git a/BHoMUpgrades/Upgrades/v61.json b/BHoMUpgrades/Upgrades/v61.json index 955f58e..9388512 100644 --- a/BHoMUpgrades/Upgrades/v61.json +++ b/BHoMUpgrades/Upgrades/v61.json @@ -473,6 +473,92 @@ "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }" ], "_bhomVersion": "6.1" + }, + "BH.Revit.Engine.Core.Create.ViewPlan(Autodesk.Revit.DB.Document, Autodesk.Revit.DB.Level, System.String, Autodesk.Revit.DB.CurveLoop, Autodesk.Revit.DB.ElementId, Autodesk.Revit.DB.ViewDetailLevel)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Create, Revit_Core_Engine_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "MethodName": "ViewPlan", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Document, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Level, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.ViewFamily, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.CurveLoop, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.ElementId, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.ViewDetailLevel, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }" + ], + "_bhomVersion": "6.1" + }, + "BH.Revit.Engine.Core.Query.BuiltInCategories(BH.oM.Adapters.Revit.Elements.Family, Autodesk.Revit.DB.Document, System.Boolean)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "MethodName": "BuiltInCategories", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Adapters.Revit.Elements.Family\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }" + ], + "_bhomVersion": "6.1" + }, + "BH.Revit.Engine.Core.Query.BuiltInCategories(BH.oM.Base.IBHoMObject, Autodesk.Revit.DB.Document, System.Boolean)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "MethodName": "BuiltInCategories", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Base.IBHoMObject\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }" + ], + "_bhomVersion": "6.1" + }, + "BH.Revit.Engine.Core.Query.BuiltInCategory(Autodesk.Revit.DB.Document, System.String, System.Boolean)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "MethodName": "BuiltInCategory", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }" + ], + "_bhomVersion": "6.1" + }, + "BH.Revit.Engine.Core.Query.BuiltInCategory(BH.oM.Adapters.Revit.Elements.IInstance, Autodesk.Revit.DB.Document, System.Boolean)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "MethodName": "BuiltInCategory", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Adapters.Revit.Elements.IInstance\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }" + ], + "_bhomVersion": "6.1" + }, + "BH.Revit.Engine.Core.Query.BuiltInCategory(BH.oM.Adapters.Revit.Properties.InstanceProperties, Autodesk.Revit.DB.Document, System.Boolean)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "MethodName": "BuiltInCategory", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Adapters.Revit.Properties.InstanceProperties\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.1\" }" + ], + "_bhomVersion": "6.1" + }, + "BH.Revit.Engine.Core.Query.CategoryName(Autodesk.Revit.DB.BuiltInCategory, Autodesk.Revit.DB.Document)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "MethodName": "CategoryName", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.BuiltInCategory, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }" + ], + "_bhomVersion": "6.1" + }, + "BH.Revit.Engine.Schematic.Compute.UpdateAllSymbols(Autodesk.Revit.DB.Document, Autodesk.Revit.DB.View)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Schematic.Compute, Revit_Schematic_Engine_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "MethodName": "UpdateAllSymbols", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Document, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.List`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.View, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }], \"_bhomVersion\" : \"6.1\" }" + ], + "_bhomVersion": "6.1" } }, "ToOld": { @@ -587,7 +673,7 @@ "BH.Engine.Structure.Query.EmbodiedCarbon(BH.oM.Structure.Elements.Bar)": "Method removed as part of removal of EmbodiedCarbon from MaterialFragments to avoid conflicts and overlap with LCA_Toolkit.", "BH.Engine.Structure.Create.TieReinforcement(System.Double, System.Double, System.Int32)": "Method removed as part of complete refactoring of reinforcement handling in Structure_oM.", "BH.Engine.Structure.Create.LayerReinforcement(System.Double, System.Double, System.Int32, System.Boolean)": "Method removed as part of complete refactoring of reinforcement handling in Structure_oM.", - "BH.Engine.Structure.Create.PerimeterReinforcement(System.Double, System.Int32, BH.oM.Structure.SectionProperties.Reinforcement.ReinforcementPattern) ": "Method removed as part of complete refactoring of reinforcement handling in Structure_oM.", + "BH.Engine.Structure.Create.PerimeterReinforcement(System.Double, System.Int32, BH.oM.Structure.SectionProperties.Reinforcement.ReinforcementPattern)": "Method removed as part of complete refactoring of reinforcement handling in Structure_oM.", "BH.Engine.Structure.Create.Panel(BH.oM.Geometry.ICurve, System.Collections.Generic.List, BH.oM.Structure.SurfaceProperties.ISurfaceProperty, System.String)": "Method that use a mixture of geometry and objects between edges and openings removed.", "BH.Engine.Structure.Create.Panel(System.Collections.Generic.List, System.Collections.Generic.List, BH.oM.Structure.SurfaceProperties.ISurfaceProperty, System.String)": "Method that use a mixture of geometry and objects between edges and openings removed.", "BH.Engine.MachineLearning.Query.ToolkitName()": "The MachineLearning_Toolkit has been removed from installers and is not currently deployed. If you would like to experiment with the latest MachineLearning_Toolkit capabilities, please compile the toolkit from source. Please reach out to a member of the development team if you would like MachineLearning_Toolkit to be redeployed.", @@ -623,6 +709,7 @@ "BH.Engine.Structure.Create.RigidLink(BH.oM.Structure.Elements.Node, System.Collections.Generic.IEnumerable, BH.oM.Structure.Constraints.LinkConstraint, System.String)": "Old incomplete create method replaced with automatic proeprty assignment method and not able to be automatically upgraded due to incompatible parameter names. Please replace component with a default create method.", "BH.Engine.Structure.Create.AreaUniformTemperatureLoad(BH.oM.Structure.Loads.Loadcase, System.Double, BH.oM.Base.BHoMGroup, BH.oM.Structure.Loads.LoadAxis, System.Boolean, System.String)": "Old incomplete create method replaced with automatic proeprty assignment method and not able to be automatically upgraded due to incompatible parameter names. Please replace component with a default create method.", "BH.Engine.CableNetDesign.Compute.CalculateRadialHorizontalLengths(System.Collections.Generic.List>)": "Helper method for calculation of fixed plan relaxation with no real usecase outside the particular algorithm made private. Please raise an issue in the StructuralEngineering_Toolkit if this method was required for any particular workflow.", - "BH.Engine.Structure.Trusses.Create.Truss2DSettings(System.Boolean, System.Boolean, System.Boolean, System.Boolean, System.Double, System.Boolean, System.Boolean, BH.oM.Structure.Elements.BeamSpanType)": "Settings for creating Truss2D has been migrated with no explicit Create method. PLease use the default constructor for BH.oM.Structure.Generative.Truss2DInputs instead." + "BH.Engine.Structure.Trusses.Create.Truss2DSettings(System.Boolean, System.Boolean, System.Boolean, System.Boolean, System.Double, System.Boolean, System.Boolean, BH.oM.Structure.Elements.BeamSpanType)": "Settings for creating Truss2D has been migrated with no explicit Create method. PLease use the default constructor for BH.oM.Structure.Generative.Truss2DInputs instead.", + "BH.Revit.Engine.Mechanical.Create.SpacePlacementSchema(Autodesk.Revit.DB.Document, System.String, System.String)": "The schema is now identified by a Guid. Please use SpacePlacementSchema(Document, Guid) instead." } } \ No newline at end of file diff --git a/BHoMUpgrades/Upgrades/v63.json b/BHoMUpgrades/Upgrades/v63.json index b3bc585..b1041c6 100644 --- a/BHoMUpgrades/Upgrades/v63.json +++ b/BHoMUpgrades/Upgrades/v63.json @@ -1,7 +1,8 @@ { "Namespace": { "ToNew": { - + "BH.Revit.Engine.Security": "BH.Revit.Engine.SecurityICT", + "BH.Revit.Engine.ICT": "BH.Revit.Engine.SecurityICT" }, "ToOld": { @@ -18,8 +19,9 @@ "BH.Revit.oM.Security.SecuritySettings": "BH.Revit.oM.SecurityICT.SecuritySettings", "BH.Revit.oM.Security.CuboidFace": "BH.Revit.oM.SecurityICT.CuboidFace", "BH.Revit.oM.Security.DoorSide": "BH.Revit.oM.SecurityICT.DoorSide", - "BH.Revit.oM.SecurityICT.FaceVertices": "BH.Revit.oM.Security.FaceVertices", - "BH.Revit.oM.SecurityICT.LateralPosition": "BH.Revit.oM.Security.LateralPosition", + "BH.Revit.oM.Security.CameraFieldOfViewSettings": "BH.Revit.oM.SecurityICT.CameraFieldOfViewSettings", + "BH.Revit.oM.Security.FaceVertices": "BH.Revit.oM.SecurityICT.FaceVertices", + "BH.Revit.oM.Security.LateralPosition": "BH.Revit.oM.SecurityICT.LateralPosition", "BH.Revit.oM.Security.Logging.CameraVisionLogItem": "BH.Revit.oM.SecurityICT.Logging.CameraVisionLogItem", "BH.Revit.oM.ICT.Logging.ChangeDataCircuitLogItem": "BH.Revit.oM.SecurityICT.Logging.ChangeDataCircuitLogItem", "BH.Revit.oM.ICT.Logging.CreateDataCircuitLogItem": "BH.Revit.oM.SecurityICT.Logging.CreateDataCircuitLogItem", @@ -41,6 +43,7 @@ "BH.Revit.oM.SecurityICT.SecuritySettings": "BH.Revit.oM.Security.SecuritySettings", "BH.Revit.oM.SecurityICT.CuboidFace": "BH.Revit.oM.Security.CuboidFace", "BH.Revit.oM.SecurityICT.DoorSide": "BH.Revit.oM.Security.DoorSide", + "BH.Revit.oM.SecurityICT.CameraFieldOfViewSettings": "BH.Revit.oM.Security.CameraFieldOfViewSettings", "BH.Revit.oM.SecurityICT.FaceVertices": "BH.Revit.oM.Security.FaceVertices", "BH.Revit.oM.SecurityICT.LateralPosition": "BH.Revit.oM.Security.LateralPosition", "BH.Revit.oM.SecurityICT.Logging.CameraVisionLogItem": "BH.Revit.oM.Security.Logging.CameraVisionLogItem", @@ -1164,6 +1167,20 @@ "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.3\" }" ], "_bhomVersion": "6.3" + }, + "BH.Revit.Engine.Schematic.Compute.SymbolFromElements(Autodesk.Revit.UI.UIDocument, Autodesk.Revit.DB.XYZ, Autodesk.Revit.DB.XYZ, System.Collections.Generic.List, System.String)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Schematic.Compute, Revit_Schematic_Engine_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.3\" }", + "MethodName": "SymbolFromElements", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.UI.UIDocument, RevitAPIUI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.oM.Schematic.EquipmentAssemblyItem, Revit_Schematic_oM_2023, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.XYZ, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.XYZ, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.List`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Element, RevitAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.3\" }], \"_bhomVersion\" : \"6.3\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"6.3\" }" + ], + "_bhomVersion": "6.3" } }, "ToOld": { @@ -1366,6 +1383,7 @@ "BH.Revit.Engine.Utility.Compute.MarkIntersections(Autodesk.Revit.UI.UIDocument, System.Collections.Generic.List)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.Engine.Utility.Compute.MarkIntersectionsOnAllOpenViews(Autodesk.Revit.UI.UIDocument)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.Engine.Utility.Modify.PropagateExtents(System.Collections.Generic.List, System.Collections.Generic.List)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", + "BH.Revit.Engine.Utility.Modify.CategoryVisibility(Autodesk.Revit.DB.View, System.Collections.Generic.List, System.Boolean, System.Nullable)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.Engine.Utility.Compute.UtilitySettings(Autodesk.Revit.DB.Document)": "This method has been removed as a part of the legacy code cleanup. Please use the new Room Data Sheets feature or contact the developers if you still need it.", "BH.Revit.Engine.Utility.Create.SpaceViews(Autodesk.Revit.DB.Document, System.Collections.Generic.List)": "This method has been removed as a part of the legacy code cleanup. Please use the new Room Data Sheets feature or contact the developers if you still need it.", "BH.Revit.Engine.Utility.Query.SpaceViewsSettings()": "This method has been removed as a part of the legacy code cleanup. Please use the new Room Data Sheets feature or contact the developers if you still need it.", diff --git a/BHoMUpgrades/Upgrades/v70.json b/BHoMUpgrades/Upgrades/v70.json index 4e5a9f2..52f3037 100644 --- a/BHoMUpgrades/Upgrades/v70.json +++ b/BHoMUpgrades/Upgrades/v70.json @@ -373,6 +373,15 @@ ], "_bhomVersion": "7.0" + }, + "BH.Engine.BuroHappoldData.Query.Creator(BH.oM.Base.BHoMObject)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.BuroHappoldData.Query, BuroHappoldData_Engine, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"7.0\" }", + "MethodName": "Creator", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Base.IBHoMObject\", \"_bhomVersion\" : \"7.0\" }" + ], + "_bhomVersion": "7.0" } }, "ToOld": { diff --git a/BHoMUpgrades/Upgrades/v73.json b/BHoMUpgrades/Upgrades/v73.json index 8fce75d..e71515a 100644 --- a/BHoMUpgrades/Upgrades/v73.json +++ b/BHoMUpgrades/Upgrades/v73.json @@ -199,6 +199,15 @@ "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"7.3\" }" ], "_bhomVersion": "7.3" + }, + "BH.Engine.Structure.Query.Geometry(BH.oM.Structure.SectionProperties.ConcreteSection)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Structure.Query, Structure_Engine, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"7.3\" }", + "MethodName": "Geometry", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Structure.SectionProperties.IGeometricalSection\", \"_bhomVersion\" : \"7.3\" }" + ], + "_bhomVersion": "7.3" } }, "ToOld": { diff --git a/BHoMUpgrades/Upgrades/v81.json b/BHoMUpgrades/Upgrades/v81.json index 5273f7c..5eb1c3f 100644 --- a/BHoMUpgrades/Upgrades/v81.json +++ b/BHoMUpgrades/Upgrades/v81.json @@ -362,6 +362,10 @@ "BH.Engine.Adapters.Revit.Query.FilterDescription(BH.oM.Adapters.Revit.Requests.FilterByParameterNumber)": "This method is not versioned because the input object is not supported any more. Please use an overload of FilterDescription method taking ConditionRequest to restore your workflow or contact the developers for further support.", "BH.Engine.Adapters.Revit.Query.FilterDescription(BH.oM.Adapters.Revit.Requests.FilterByParameterText)": "This method is not versioned because the input object is not supported any more. Please use an overload of FilterDescription method taking ConditionRequest to restore your workflow or contact the developers for further support.", "BH.Revit.Engine.Core.Query.ElementIds(BH.oM.Adapters.Revit.Requests.IParameterRequest, Autodesk.Revit.DB.Document, BH.oM.Adapters.Revit.Enums.Discipline, BH.oM.Adapters.Revit.Settings.RevitSettings, System.Collections.Generic.IEnumerable)": "This method is not versioned because the input object is not supported any more. Please use an overload of ElementIds method taking ConditionRequest to restore your workflow or contact the developers for further support.", - "BH.Revit.Engine.Core.Query.IElementIdsByParameter(Autodesk.Revit.DB.Document, BH.oM.Adapters.Revit.Requests.IParameterRequest, BH.oM.Adapters.Revit.Enums.Discipline, BH.oM.Adapters.Revit.Settings.RevitSettings, System.Collections.Generic.IEnumerable)": "This method is not versioned because the input object is not supported any more. Please use an overload of ElementIdsByCondition method to restore your workflow or contact the developers for further support." + "BH.Revit.Engine.Core.Query.IElementIdsByParameter(Autodesk.Revit.DB.Document, BH.oM.Adapters.Revit.Requests.IParameterRequest, BH.oM.Adapters.Revit.Enums.Discipline, BH.oM.Adapters.Revit.Settings.RevitSettings, System.Collections.Generic.IEnumerable)": "This method is not versioned because the input object is not supported any more. Please use an overload of ElementIdsByCondition method to restore your workflow or contact the developers for further support.", + "BH.Engine.Adapters.Revit.Create.FilterByParameterBool(System.String, System.Boolean)": "This method has been removed because the input object it relied on has been replaced with ConditionRequest combined with ValueCondition and ParameterValueSource, automated versioning was not possible. Please align your script using Create.FilterByParameterValue or create the ConditionRequest manually.", + "BH.Engine.Adapters.Revit.Create.FilterByParameterInteger(System.String, BH.oM.Adapters.Revit.Enums.NumberComparisonType, System.Int32)": "This method has been removed because the input object it relied on has been replaced with ConditionRequest combined with ValueCondition and ParameterValueSource, automated versioning was not possible. Please align your script using Create.FilterByParameterValue or create the ConditionRequest manually.", + "BH.Engine.Adapters.Revit.Create.FilterByParameterNumber(System.String, BH.oM.Adapters.Revit.Enums.NumberComparisonType, System.Double, System.Double)": "This method has been removed because the input object it relied on has been replaced with ConditionRequest combined with ValueCondition and ParameterValueSource, automated versioning was not possible. Please align your script using Create.FilterByParameterValue or create the ConditionRequest manually.", + "BH.Engine.Adapters.Revit.Create.FilterByParameterText(System.String, BH.oM.Adapters.Revit.Enums.TextComparisonType, System.String)": "This method has been removed because the input object it relied on has been replaced with ConditionRequest combined with ValueCondition and ParameterValueSource, automated versioning was not possible. Please align your script using Create.FilterByParameterValue or create the ConditionRequest manually." } } \ No newline at end of file diff --git a/BHoMUpgrades/Upgrades/v82.json b/BHoMUpgrades/Upgrades/v82.json index 4d6ea3e..01a0228 100644 --- a/BHoMUpgrades/Upgrades/v82.json +++ b/BHoMUpgrades/Upgrades/v82.json @@ -337,6 +337,24 @@ "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"8.2\" }" ], "_bhomVersion": "8.2" + }, + "BH.Engine.Verification.Query.HasValue(Autodesk.Revit.DB.Parameter)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2021, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"8.2\" }", + "MethodName": "HasValue", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Parameter, RevitAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"8.2\" }" + ], + "_bhomVersion": "8.2" + }, + "BH.Revit.Engine.UI.Query.IsValid(BH.oM.Adapters.Revit.Parameters.ParameterValueSource)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.UI.Query, Revit_UI_Engine_2021, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"8.2\" }", + "MethodName": "IsValidName", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Adapters.Revit.Parameters.ParameterValueSource\", \"_bhomVersion\" : \"8.2\" }" + ], + "_bhomVersion": "8.2" } }, "ToOld": { diff --git a/BHoMUpgrades/Upgrades/v90.json b/BHoMUpgrades/Upgrades/v90.json index 7961540..5df4b63 100644 --- a/BHoMUpgrades/Upgrades/v90.json +++ b/BHoMUpgrades/Upgrades/v90.json @@ -1204,6 +1204,113 @@ "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }" ], "_bhomVersion": "9.0" + }, + "BH.Revit.Engine.Core.Query.ElementIdsByElementType(Autodesk.Revit.DB.Document, System.Int32, System.Collections.Generic.IEnumerable)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2022, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "ElementIdsByElementType", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Document, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.ElementId, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }], \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" + }, + "BH.Revit.Engine.Core.Query.ElementIdsByViewSpecific(Autodesk.Revit.DB.Document, System.Int32, System.Collections.Generic.IEnumerable)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2022, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "ElementIdsByViewSpecific", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Document, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.ElementId, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }], \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" + }, + "BH.Revit.Engine.Core.Query.ElementIdsByVisibleInView(Autodesk.Revit.DB.Document, System.Int32, System.Collections.Generic.IEnumerable)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2022, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "ElementIdsByVisibleInView", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Document, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.ElementId, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }], \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" + }, + "BH.Revit.Engine.Core.Query.ElementIdsOfFamilyTypes(Autodesk.Revit.DB.Document, System.Int32, System.Collections.Generic.IEnumerable)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2022, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "ElementIdsOfFamilyTypes", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Document, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.ElementId, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }], \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" + }, + "BH.Revit.Engine.Core.Query.ElementIdsOfMemberElements(Autodesk.Revit.DB.Document, System.Int32, System.Collections.Generic.IEnumerable)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2022, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "ElementIdsOfMemberElements", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Document, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.ElementId, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }], \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" + }, + "BH.Revit.Engine.Core.Query.ElementIdsOfViews(Autodesk.Revit.DB.Document, System.Int32, System.Collections.Generic.IEnumerable)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2022, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "ElementIdsOfViews", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Document, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.ElementId, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }], \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" + }, + "BH.Revit.Engine.Core.Query.ParameterName(Autodesk.Revit.DB.Document, System.Int32)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Core.Query, Revit_Core_Engine_2022, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "ParameterName", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Document, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" + }, + "BH.Revit.Engine.Tagging.Modify.AddIdFragment(BH.oM.Tagging.TagHost, Autodesk.Revit.DB.Element, System.Int32)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Tagging.Modify, Revit_Tagging_Engine_2022, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "AddIdFragment", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Tagging.TagHost\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"Autodesk.Revit.DB.Element, RevitAPI, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" + }, + "BH.Engine.Adapters.Revit.Modify.SetHost(BH.oM.Base.IBHoMObject, System.Int32, System.String)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Adapters.Revit.Modify, Revit_Engine, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "SetHost", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Base.IBHoMObject\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" + }, + "BH.Revit.Engine.Diffing.Query.Geometry2dReference(System.Int32)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Revit.Engine.Diffing.Query, Revit_Diffing_Engine_2022, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.0\" }", + "MethodName": "Geometry2dReference", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.0\" }" + ], + "_bhomVersion": "9.0" } }, "ToOld": { @@ -1246,7 +1353,7 @@ }, "MessageForDeleted": { - + "Planning\\Labels\\IssueLabels": "Dataset was moved to the repository next to the code it relates to, and is no longer part of the installers." } }, "MessageForDeleted": { @@ -1262,7 +1369,8 @@ "BH.Revit.Engine.ElementRelationships.Convert.ConvertToNewSettings(BH.oM.Base.BHoMObject)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.Engine.ElementRelationships.Compute.MergeSettings(System.Collections.Generic.List)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.Engine.Schematic.Compute.UnlinkConnectedSymbols(Autodesk.Revit.DB.Element, System.Boolean)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", - "BH.Revit.Engine.Structure.Compute.CopyGenericModelsFromLink(Autodesk.Revit.DB.Document, System.Collections.Generic.List, System.String, System.String, System.Boolean)": "This method has been removed and should not be needed any more." + "BH.Revit.Engine.Structure.Compute.CopyGenericModelsFromLink(Autodesk.Revit.DB.Document, System.Collections.Generic.List, System.String, System.String, System.Boolean)": "This method has been removed and should not be needed any more.", + "BH.Revit.Engine.Core.Query.GetDataType(Autodesk.Revit.DB.Definition)": "This method has been removed together with the support for Revit 2021, for which it was a compatibility shim. From Revit 2022 onwards, the same functionality is provided natively by Definition.GetDataType()." }, "MessageForNoUpgrade": { diff --git a/BHoMUpgrades/Upgrades/v91.json b/BHoMUpgrades/Upgrades/v91.json index 588c56f..b103706 100644 --- a/BHoMUpgrades/Upgrades/v91.json +++ b/BHoMUpgrades/Upgrades/v91.json @@ -280,10 +280,10 @@ "BH.Revit.Engine.SecurityICT.Query.Solid(Autodesk.Revit.DB.Element, Autodesk.Revit.DB.ViewDetailLevel)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.Engine.SecurityICT.Query.RectangularFaceVertex(Autodesk.Revit.DB.PlanarFace, BH.Revit.oM.SecurityICT.FaceVertices)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.Engine.SecurityICT.Compute.AddLockAssemblyItems(Autodesk.Revit.DB.FamilyInstance, BH.Revit.oM.SecurityICT.LockConfiguration, System.Collections.Generic.List, System.Collections.Generic.Dictionary)": "This method has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", - "BH.Revit.oM.SecurityICT.Enums.CuboidFace": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", - "BH.Revit.oM.SecurityICT.Enums.DoorSide": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", - "BH.Revit.oM.SecurityICT.Enums.FaceVertices": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", - "BH.Revit.oM.SecurityICT.Enums.LateralPosition": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", + "BH.Revit.oM.SecurityICT.CuboidFace": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", + "BH.Revit.oM.SecurityICT.DoorSide": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", + "BH.Revit.oM.SecurityICT.FaceVertices": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", + "BH.Revit.oM.SecurityICT.LateralPosition": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.oM.SecurityICT.Logging.LockAssembleLogItem": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.oM.SecurityICT.LockConfiguration": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", "BH.Revit.oM.SecurityICT.LockItem": "This object has been removed as a part of the legacy code cleanup. Please contact the developers if you still need it.", diff --git a/BHoMUpgrades/Upgrades/v92.json b/BHoMUpgrades/Upgrades/v92.json index 3bdc592..a2ce076 100644 --- a/BHoMUpgrades/Upgrades/v92.json +++ b/BHoMUpgrades/Upgrades/v92.json @@ -303,6 +303,36 @@ "{ \"_t\" : \"System.Type\", \"Name\" : \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.2\" }" ], "_bhomVersion": "9.2" + }, + "BH.Engine.Tagging.Query.Bounds(System.Collections.Generic.List)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Tagging.Query, Tagging_Engine, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.2\" }", + "MethodName": "Bounds", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Geometry.Line\", \"_bhomVersion\" : \"9.2\" }], \"_bhomVersion\" : \"9.2\" }" + ], + "_bhomVersion": "9.2" + }, + "BH.Engine.Tagging.Query.HostId(BH.oM.Tagging.TagHost)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Tagging.Query, Tagging_Engine, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.2\" }", + "MethodName": "HostId", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Tagging.ITagHost\", \"_bhomVersion\" : \"9.2\" }" + ], + "_bhomVersion": "9.2" + }, + "BH.Engine.Tagging.Query.MaxDistanceByProjection(System.Collections.Generic.List, BH.oM.Geometry.Line, BH.oM.Geometry.Vector, System.Boolean)": { + "_t": "System.Reflection.MethodBase", + "TypeName": "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Tagging.Query, Tagging_Engine, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"9.2\" }", + "MethodName": "MaxDistanceByProjection", + "Parameters": [ + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Collections.Generic.IEnumerable`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"GenericArguments\" : [{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Geometry.Line\", \"_bhomVersion\" : \"9.2\" }], \"_bhomVersion\" : \"9.2\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Geometry.Line\", \"_bhomVersion\" : \"9.2\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Geometry.Vector\", \"_bhomVersion\" : \"9.2\" }", + "{ \"_t\" : \"System.Type\", \"Name\" : \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\", \"_bhomVersion\" : \"9.2\" }" + ], + "_bhomVersion": "9.2" } }, "ToOld": {