diff --git a/Python_Engine/Convert/ToPython.cs b/Python_Engine/Convert/ToPython.cs new file mode 100644 index 0000000..4acdb1b --- /dev/null +++ b/Python_Engine/Convert/ToPython.cs @@ -0,0 +1,41 @@ +/* + * This file is part of the Buildings and Habitats object Model (BHoM) + * Copyright (c) 2015 - 2023, the respective contributors. All rights reserved. + * + * Each contributor holds copyright over their respective contributions. + * The project versioning (Git) records all such contribution source information. + * + * + * The BHoM is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3.0 of the License, or + * (at your option) any later version. + * + * The BHoM is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this code. If not, see . + */ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using BH.oM.Base.Attributes; + +namespace BH.Engine.Python +{ + public static partial class Convert + { + // TODO - REMOVE THIS METHOD, NO LONGER REQUIRED, PLUS IT HAS AN OLD ToBeRemoved TAG + [ToBeRemoved("5.3", "This method included in order to fool versioning into playing nicely.")] + public static bool ToPython(this T[,] input) + { + return false; + } + } +} \ No newline at end of file diff --git a/Python_Engine/Python_Engine.csproj b/Python_Engine/Python_Engine.csproj index d33b453..0e6eb2a 100644 --- a/Python_Engine/Python_Engine.csproj +++ b/Python_Engine/Python_Engine.csproj @@ -75,6 +75,7 @@ + @@ -96,7 +97,6 @@ - diff --git a/Python_Engine/Versioning_63.json b/Python_Engine/Versioning_63.json index 24f54f2..cbd5c9a 100644 --- a/Python_Engine/Versioning_63.json +++ b/Python_Engine/Versioning_63.json @@ -13,7 +13,6 @@ "BH.Engine.Python.Query.VirtualEnv(System.String)": "This method has been removed.", "BH.Engine.Python.Query.VirtualEnvPythonExePath(System.String)": "This method has been removed.", "BH.Engine.Python.Query.VirtualEnvDirectory(System.String)": "This method has been removed.", - "BH.Engine.Python.Convert.ToPython[T](T[,])": "This method has been removed.", "BH.Engine.Python.Compute.RunCommandAsync(System.String, System.Boolean, System.String)": "This method has been removed.", "BH.Engine.Python.Compute.RunCommandBool(System.String, System.Boolean, System.String, System.Double)": "This method has been removed.", "BH.Engine.Python.Compute.RunPythonScript(BH.oM.Python.PythonEnvironment, System.String, System.Collections.Generic.List)": "This method has been removed.",