Built for Engineers and Developers
The power of CSI software, programmatically.
Computers and Structures, Inc.’s Application Programming Interface (API) allows engineers and developers to exploit the power and productivity of CSI software programmatically.
With a little programming knowledge, it is possible to create a spreadsheet, plugin or third-party application that can interface with CSI software. The API is compatible with most major programming languages including Visual Basic for Applications (VBA), VB.NET, C#, C++, Visual Fortran, Python, and Matlab. Whether you are a seasoned developer or new to programming, you will find the CSI API syntax easy and intuitive.
Multiple Language Support
The API is compatible with most major programming languages, including Visual Basic for Applications (VBA), VB.NET, C#, C++, Visual Fortran, Python, and Matlab.
Smart Spreadsheets
Employ the API from within an Excel spreadsheet to create, modify, and run a model, then extract the results back to the spreadsheet for further processing.
Build Custom Plugins
Plugins created with the API can be accessed from within CSI software directly, allowing the use of custom commands in conjunction with the regular software features.
Cross Product Development
Write it once. Use it everywhere.
The CSI API is currently available for ETABS, SAP2000, CSiBridge, and SAFE.
To get the most out of your development efforts, the CSI API is consistent between the products to allow tools and applications created using the CSI API to be adapted easily for all CSI products.
Starting with ETABS v18, SAP2000 v21, CSiBridge v21, and SAFE v20 it is now possible to develop cross-product API tools that work with all four products. This allows you to write the code once and use it in all four products. These versions of the API are also forward compatible to future major versions of these products without the need for recompiling.
One API, four products — write it once, run it anywhere
# Add a point object at (10, 20, 0) ret = SapModel.PointObj.AddCartesian(10, 20, 0, "", "P1")
// Add a point object at (10, 20, 0)string name = ""; int ret = SapModel.PointObj.AddCartesian(10, 20, 0, ref name, "P1");
' Add a point object at (10, 20, 0) Dim name As String ret = SapModel.PointObj.AddCartesian(10, 20, 0, name, "P1")
SapModel.PointObj.AddCartesian
All of the API functions are thoroughly documented in a searchable help file. This help file contains information about hundreds of CSI API functions, with the discussion for each function describing the syntax and parameters, the version in which the function was first made available, any changes to the function, and an example showing the usage of the function.
| Parameter | Type | Description |
|---|---|---|
| X, Y, Z | Double | Coordinates of the point, in the specified coordinate system. |
| Name | String | Name the program assigns to the new point object. |
| UserName | String | Optional user-specified name for the point object. |
In-house Tools
Automate your own firm’s workflow.
Engineers can use the CSI API to create their own company tools that automate and/or integrate with CSI software. These tools can automate repetitive tasks thereby increasing user efficiency and eliminating user errors. If you already have other in-house tools, whether spreadsheets or full blown applications, you can use the CSI API to connect these tools to CSI software.
Templates
Use the API to build an interface to parametrically create commonly used structural components.
Pre-processing Requirements
Automate and configure specialized loading requirements that your firm commonly needs to apply to structures.
Post-processing Requirements
Build customized algorithms that implement specific design checks.
AI-Powered Workflows
Pair the CSI API with modern AI tooling.
Because the CSI API is fully scriptable in Python, it drops directly into the same tooling engineers are already using to build AI-assisted workflows. There’s no separate “AI feature” to learn — it’s the same API functions, called from code that happens to be written or orchestrated with the help of an LLM.
That opens the door to things like natural-language scripting of routine modeling tasks, AI-assisted generation of API scripts from a plain-English description of what you want to automate, agents that iterate through design variations and flag ones worth a closer look, and batch-processing pipelines that summarize analysis results across many models. The API does the same reliable job it always has — talking directly to ETABS, SAP2000, SAFE, or CSiBridge — while AI tooling sits on top to make automating that connection faster to set up and easier to maintain.
Natural-Language Scripting
Describe the modeling task in plain English and have an AI assistant draft the CSI API (Python) script that performs it, ready for you to review and run.
Automated Design Iteration
Script a loop through member sizes or configurations via the API, and let an AI-driven process flag the variations most worth a closer look.
Batch Results Summarization
Pull results from many models through the API and have an AI step summarize the findings into a plain-language report for review.
Third-Party Applications
Built by developers around the world.
Third-party developers, such as CAD and 3D modeling developers, can use the API to enable their software with all of the sophisticated analysis and design technology of CSI software. Developers can create rich and tight two-way links with CSI software, allowing for accurate transfer of models, complete control of execution, and extraction of analysis and design information, all from within their application.
The CSI API offers direct, fast and efficient access to all of the advanced numerical methods of CSI software. It allows direct two-way transfer of information without intermediate files, providing fast throughput for large models. Use of the CSI API by third-party developers all but guarantees that their applications will remain compatible with future releases of CSI software, a nontrivial concern for both developers and users.