From bbc9fb5438aefb6ca50f6b8000d0be623fc6d400 Mon Sep 17 00:00:00 2001 From: Thomas Edward Kingstone Date: Fri, 12 Jan 2024 15:18:13 +0000 Subject: [PATCH] fix versioning file names --- .../{Versioning71.json => Versioning_71.json} | 0 Physical_Engine/{Versioning71.json => Versioning_71.json} | 0 Spatial_Engine/Query/NewInternalElement2D.cs | 2 +- Spatial_Engine/Versioning71.json | 6 ------ Spatial_Engine/Versioning_71.json | 4 +++- 5 files changed, 4 insertions(+), 8 deletions(-) rename Environment_Engine/{Versioning71.json => Versioning_71.json} (100%) rename Physical_Engine/{Versioning71.json => Versioning_71.json} (100%) delete mode 100644 Spatial_Engine/Versioning71.json diff --git a/Environment_Engine/Versioning71.json b/Environment_Engine/Versioning_71.json similarity index 100% rename from Environment_Engine/Versioning71.json rename to Environment_Engine/Versioning_71.json diff --git a/Physical_Engine/Versioning71.json b/Physical_Engine/Versioning_71.json similarity index 100% rename from Physical_Engine/Versioning71.json rename to Physical_Engine/Versioning_71.json diff --git a/Spatial_Engine/Query/NewInternalElement2D.cs b/Spatial_Engine/Query/NewInternalElement2D.cs index 1b553df67..ba6d254e6 100644 --- a/Spatial_Engine/Query/NewInternalElement2D.cs +++ b/Spatial_Engine/Query/NewInternalElement2D.cs @@ -36,7 +36,7 @@ public static partial class Query [Description("Creates a IElement2D of a type which can be assigned to the IElement2D.")] [Input("element2D", "A IElement2D with a internal IElement2D type defined. The element is only used to identify the type of internal IElement2D to create, and will remain unchanged by this method.")] [Output("element2D", "A internal IElement2D which can be assigned to the IElement2D. Returns null if the IElement2D does not have a type of internal IElement2D.")] - [PreviousVersion("7.1", "BH.Engine.Spatial.Create.NewInternalElement2D(BH.oM.Dimensional.IElement2D)")] + [PreviousVersion("7.1", "BH.Engine.Spatial.Create.INewInternalElement2D(BH.oM.Dimensional.IElement2D)")] public static IElement2D INewInternalElement2D(this IElement2D element2D) { return Base.Compute.RunExtensionMethod(element2D, "NewInternalElement2D") as IElement2D; diff --git a/Spatial_Engine/Versioning71.json b/Spatial_Engine/Versioning71.json deleted file mode 100644 index 797f23a9a..000000000 --- a/Spatial_Engine/Versioning71.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "MessageForDeleted": { - "BH.Engine.Spatial.Create.INewElement0D(BH.oM.Dimensional.IElement1D, BH.oM.Geometry.Point)": "NewElement methods were refactored in BHoM 3.2 with these methods marked for deletion, and have now been removed.", - "BH.Engine.Spatial.Create.INewElement1D(BH.oM.Dimensional.IElement2D, BH.oM.Geometry.ICurve)": "NewElement methods were refactored in BHoM 3.2 with these methods marked for deletion, and have now been removed." - } -} \ No newline at end of file diff --git a/Spatial_Engine/Versioning_71.json b/Spatial_Engine/Versioning_71.json index 98da4043f..bf1687db6 100644 --- a/Spatial_Engine/Versioning_71.json +++ b/Spatial_Engine/Versioning_71.json @@ -29,7 +29,9 @@ }, "MessageForDeleted": { "BH.Engine.Spatial.Query.Area(BH.oM.Dimensional.IElement0D)": "Querying the area of a 0 diemnsional is not possible. The method was added in error and should not have been available. Area methods are suitable for 2D objects and above.", - "BH.Engine.Spatial.Query.Area(BH.oM.Dimensional.IElement1D)": "Area of an IElement1D cannot be queried because IElement1D has only 1 dimension, i.e. should not be represented as a region even if closed. Method has been removed to avoid confusion." + "BH.Engine.Spatial.Query.Area(BH.oM.Dimensional.IElement1D)": "Area of an IElement1D cannot be queried because IElement1D has only 1 dimension, i.e. should not be represented as a region even if closed. Method has been removed to avoid confusion.", + "BH.Engine.Spatial.Create.INewElement0D(BH.oM.Dimensional.IElement1D, BH.oM.Geometry.Point)": "NewElement methods were refactored in BHoM 3.2 with these methods marked for deletion, and have now been removed.", + "BH.Engine.Spatial.Create.INewElement1D(BH.oM.Dimensional.IElement2D, BH.oM.Geometry.ICurve)": "NewElement methods were refactored in BHoM 3.2 with these methods marked for deletion, and have now been removed." }, "MessageForNoUpgrade": {