...
With the release of ETABS v22.0.0 , SAFE v22.0.0 , SAP2000 v26.0.0 , and CSiBridge v26.0.0 , it is now possible to create plugins for CSI products using .NET 8 . To learn more about the .NET 8 platform , please see What's new in .NET 8 . This example will guide a developer through creating a simple .NET 8 plugin for ETABS using the C# programming language. By making use of the cross-product CSI API library, this example is compatible with ETABS v22.0.0 , SAFE v22.0.0 using the C# programming language, SAP2000 v26.0.0 , and CSiBridge v26.0.0 (or a higher version of any of these). For an example plugin using .NET Framework, please see NET Framework Plugin Example .
...
This walkthrough uses Microsoft Visual Studio 2022 and the .NET 8 SDK. ETABS v22.0.0 must be installed on the development computer.One of the following CSI products must be installed on the development computer: ETABS v22.0.0 , SAFE v22.0.0 , SAP2000 v26.0.0 , or CSiBridge v26.0.0 (higher versions of any product will also work)
Procedure
- Selecting C# as the language, create a new project of type Class Library. Ensure that the selected project type targets .NET or .NET Standard, not .NET Framework.
...
4. Once your project is created, add a reference to the CSI API library. This will be located in the installed ETABS program directory, typically e.g. C:\Program Files\Computers and Structures\ETABS 22\ . If you are making a plugin only for ETABS, select the ETABSv1.DLL . If you If you'd like your plugin to be compatible with other CSI products, such as SAFE or SAP2000, use the cross-product API library, CSiAPIv1.DLL . If you are making a plugin only for ETABS, select the ETABSv1.DLL .
5. Some manual edits must be made to the project file in order for the plugin to run successfully. Open the project file (in our example, CSiNET8PluginExample1.csproj ) in a text editor, and make the highlighted changes shown below
...