API
The AdSec API documentation can be found on the API Documentation site and covers the following topics:
- Classes
- Functions
- Units of Measure
A summary of the capabilities of the API are detailed below.
AdSec API Coverage
The following table outlines all the features, functionality, outputs, and differences between the AdSec main application ("App") and the AdSec API ("API"):
| Category | Sub-Category | Feature | Description | App | API | Notes |
|---|---|---|---|---|---|---|
| Project | File | Read .ads file | ✔️ | ✔️ | Reads .ads file into a list of ISection instances | |
| Write/Save .ads file | ✔️ | ❌ | AdSec API can write a single section to a .ads file. Tasks are not written to file since the API does not use "AdSec Tasks". | |||
| Setup | Project Info | Job Number, titles, notes, etc. | ✔️ | N/A | AdSec API does not have a concept of an "AdSec project" | |
| Unit Settings | Force, Length, dimensions, stress, strain, etc. | ✔️ | N/A | AdSec API allows different units to be used when objects are created, using the OasysUnits namespace. | ||
| Design Codes | AASHTO | LRFD (2017) - US | ✔️ | ❌ | ||
| LRFD (2017) - SI | ✔️ | ✔️ | ||||
| ACI | ACI318 (2002, 2005, 2008, 2011, 2014, 2019) Units: Inch-Pound (US), and SI (Metric) | ✔️ | ✔️ | AdSec API does not support ACI-318 2019 Edition. | ||
| Standards Australia | AS3600 (2001, 2009, 2018) | ✔️ | ✔️ | |||
| AS5100 (2017) | ✔️ | ✔️ | ||||
| British Standards | BS8110 (1985, 1997, 2005) | ✔️ | ✔️ | |||
| BS5400 | ✔️ | ✔️ | AdSec API has 1990, 2006. AdSec Desktop has BS5400 unlabelled, assume it's 1990. | |||
| BS5400 (IAN70_06) | ✔️ | ✔️ | ||||
| Canadian Standards Association | CSA A23 Part 3 (2004, 2014) | ✔️ | ✔️ | |||
| CSA S6 (2014) | ✔️ | ✔️ | ||||
| Eurocode 2 (Part 1) | EN1992 (National Annex: None, Cyprus, Denmark, Finland, France, Germany, Ireland, Italy, Netherlands, Norway, Poland, Singapore, Spain, UK, PD6687-1 (2010)) | ✔️ | ✔️ | 2004 | ||
| Eurocode 2 (Part 2) | EN1992 (National Annex: None, Denmark, France, Germany, Ireland, Italy, Netherlands, Singapore, Spain, UK) | ✔️ | ✔️ | 2005 | ||
| Hong Kong Code of Practice | Hong Kong Code of Practice (1987, 2004, 2007, 2013) | ✔️ | ✔️ | |||
| Hong Kong Structures Design (2002, 2013) | ✔️ | ✔️ | ||||
| Indian Standards | IRS Bridge (1997) | ✔️ | ✔️ | |||
| IS456 (2000) | ✔️ | ✔️ | ||||
| IRC112 2011 | ✔️ | ✔️ | ||||
| IRC112 2020 | ✔️ | ❌ | ||||
| Materials | Standard Materials | Concrete / Normal weight | ✔️ | ✔️ | ||
| Reinforcement - Rebar | ✔️ | ✔️ | ||||
| Reinforcement - Tendons | ✔️ | ✔️ | ||||
| Steel | ✔️ | ✔️ | ||||
| FRP | ✔️ | ✔️ | ||||
| Material Models (Curves) | Tension Compression | ✔️ | ||||
| Bilinear | ✔️ | ✔️ | ||||
| Explicit | ✔️ | ✔️ | ||||
| FibModelCode | ✔️ | |||||
| Linear | ✔️ | ✔️ | ||||
| Mander Confined | ✔️ | ✔️ | ||||
| Mander | ✔️ | ✔️ | ||||
| Parabola Rectangle | ✔️ | ✔️ | ||||
| Park | ✔️ | |||||
| Popovics | ✔️ | ✔️ | ||||
| Rectangular | ✔️ | ✔️ | ||||
| Interpolated | ✔️ | ❌ | ||||
| No-tension | ✔️ | ❌ | ||||
| AISC 360 filled tube | ✔️ | ❌ | Compression | |||
| Explicit envelope | ✔️ |