diff --git a/README.md b/README.md index 602a369d..91465f49 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,12 @@ Grab the [latest installer](https://bhom.xyz/) and a selection of [sample script ## Getting Started for Developers 🤖 If you want to build the BHoM and the Toolkits from source, it's hopefully easy! 😄 -Do take a look at our specific wiki pages here: [Getting Started for Developers](https://github.com/BHoM/documentation/wiki/Getting-started-for-developers) +Do take a look at our specific wiki pages here: [Getting Started for Developers](https://bhom.xyz/documentation/Contributing/Getting-started-for-developers/) ## Want to Contribute? ## -BHoM is an open-source project and would be nothing without its community. Take a look at our contributing guidelines and tips [here](https://github.com/BHoM/BHoM/blob/master/CONTRIBUTING.md). +BHoM is an open-source project and would be nothing without its community. Take a look at our contributing guidelines and tips [here](https://github.com/BHoM/BHoM/blob/main/CONTRIBUTING.md). ## Licence ## @@ -42,5 +42,5 @@ BHoM is an open-source project and would be nothing without its community. Take BHoM is free software licenced under GNU Lesser General Public Licence - [https://www.gnu.org/licenses/lgpl-3.0.html](https://www.gnu.org/licenses/lgpl-3.0.html) Each contributor holds copyright over their respective contributions. The project versioning (Git) records all such contribution source information. -See [LICENSE](https://github.com/BHoM/BHoM/blob/master/LICENSE) and [COPYRIGHT_HEADER](https://github.com/BHoM/BHoM/blob/master/COPYRIGHT_HEADER.txt). +See [LICENSE](https://github.com/BHoM/BHoM/blob/main/LICENSE) and [COPYRIGHT_HEADER](https://github.com/BHoM/BHoM/blob/main/COPYRIGHT_HEADER.txt). diff --git a/Robot_Adapter/CRUD/Create/Loads/Loadcase.cs b/Robot_Adapter/CRUD/Create/Loads/Loadcase.cs index b2a70742..bd5db7b0 100644 --- a/Robot_Adapter/CRUD/Create/Loads/Loadcase.cs +++ b/Robot_Adapter/CRUD/Create/Loads/Loadcase.cs @@ -48,6 +48,14 @@ private bool CreateCollection(IEnumerable loadCase) int subNature; IRobotCaseNature rNature = Convert.ToRobotLoadcaseNature(caseList[i], out subNature); + + // Check if any loadcases havea zero + if(caseList.Any(lc => lc.Number == 0 || lc.Number < 1)) + { + Compute.RecordError("One or more Loadcases have a number zero (or negative number) assigned and cannot be pushed."); + return false; + } + m_RobotApplication.Project.Structure.Cases.CreateSimple(caseList[i].Number, caseList[i].Name, rNature, IRobotCaseAnalizeType.I_CAT_STATIC_LINEAR); IRobotSimpleCase sCase = caseServer.Get(caseList[i].Number) as IRobotSimpleCase; diff --git a/Robot_Adapter/Properties/AssemblyInfo.cs b/Robot_Adapter/Properties/AssemblyInfo.cs index 0d8c9ec0..71f3a48f 100644 --- a/Robot_Adapter/Properties/AssemblyInfo.cs +++ b/Robot_Adapter/Properties/AssemblyInfo.cs @@ -53,8 +53,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.0.0.0")] -[assembly: AssemblyFileVersion("6.3.0.0")] +[assembly: AssemblyVersion("7.0.0.0")] +[assembly: AssemblyFileVersion("7.0.0.0")] diff --git a/Robot_Engine/Properties/AssemblyInfo.cs b/Robot_Engine/Properties/AssemblyInfo.cs index 84f7aba8..00a5edff 100644 --- a/Robot_Engine/Properties/AssemblyInfo.cs +++ b/Robot_Engine/Properties/AssemblyInfo.cs @@ -54,8 +54,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.0.0.0")] -[assembly: AssemblyFileVersion("6.3.0.0")] +[assembly: AssemblyVersion("7.0.0.0")] +[assembly: AssemblyFileVersion("7.0.0.0")] diff --git a/Robot_oM/Properties/AssemblyInfo.cs b/Robot_oM/Properties/AssemblyInfo.cs index dcaa2bb8..c93f775f 100644 --- a/Robot_oM/Properties/AssemblyInfo.cs +++ b/Robot_oM/Properties/AssemblyInfo.cs @@ -54,8 +54,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.0.0.0")] -[assembly: AssemblyFileVersion("6.3.0.0")] +[assembly: AssemblyVersion("7.0.0.0")] +[assembly: AssemblyFileVersion("7.0.0.0")]