diff --git a/README.md b/README.md index 60cd02d..d781bcd 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This toolkit allows interoperability between the BHoM and SAP2000. Enables creat [SAP2000 Product Website](https://www.csiamerica.com/products/sap2000) ### Known Versions of Software Supported -SAP2000 version 21 +The adapter is intended to support SAP2000 version 21 and all future versions. It is currently tested on version 23 exclusively. ### Documentation For more information about functionality see [Object Relation Table](https://github.com/BHoM/SAP2000_Toolkit/wiki/BHoM-SAP2000-Object-Relations) diff --git a/SAP2000_Adapter/SAP2000Adapter.cs b/SAP2000_Adapter/SAP2000Adapter.cs index e953abf..fd105ed 100644 --- a/SAP2000_Adapter/SAP2000Adapter.cs +++ b/SAP2000_Adapter/SAP2000Adapter.cs @@ -25,6 +25,8 @@ using System.IO; using BH.oM.Adapters.SAP2000; using BH.oM.Adapter.Commands; +using System.ComponentModel; +using BH.oM.Base.Attributes; using BH.Engine.Adapter; namespace BH.Adapter.SAP2000 @@ -41,6 +43,7 @@ public partial class SAP2000Adapter : BHoMAdapter /**** Constructors ****/ /***************************************************/ + [Description("Creates an adapter supporting SAP2000v21 and later.")] public SAP2000Adapter(string filePath = "", bool active = false) { diff --git a/SAP2000_Engine/Query/JoinRigidLink.cs b/SAP2000_Engine/Query/JoinRigidLink.cs index 885c360..7a389e6 100644 --- a/SAP2000_Engine/Query/JoinRigidLink.cs +++ b/SAP2000_Engine/Query/JoinRigidLink.cs @@ -26,6 +26,8 @@ using System.Collections.Generic; using System.Linq; using BH.oM.Structure.Constraints; +using BH.oM.Base.Attributes; +using System.ComponentModel; using BH.Engine.Base; namespace BH.Engine.Adapters.SAP2000 @@ -35,8 +37,10 @@ public static partial class Query /***************************************************/ /**** Public Methods ****/ /***************************************************/ - - public static List JoinRigidLink(List linkList) + [Description("Joins RigidLinks split by SplitRigidLink() into RigidLinks with multiple SecondaryNodes.")] + [Input("linkList", "The RigidLinks to be joined; only links containing ':::' will be joined.")] + [Output("JoinedLinks", "A list of RigidLinks with one or more SecondaryNodes")] + public static List JoinRigidLink(this List linkList) { Dictionary joinedList = new Dictionary();