Skip to main content

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"):

CategorySub-CategoryFeatureDescriptionAppAPINotes
ProjectFileRead .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".
SetupProject InfoJob Number, titles, notes, etc.✔️N/AAdSec API does not have a concept of an "AdSec project"
Unit SettingsForce, Length, dimensions, stress, strain, etc.✔️N/AAdSec API allows different units to be used when objects are created, using the OasysUnits namespace.
Design CodesAASHTOLRFD (2017) - US✔️
LRFD (2017) - SI✔️✔️
ACIACI318 (2002, 2005, 2008, 2011, 2014, 2019)
Units: Inch-Pound (US), and SI (Metric)
✔️✔️AdSec API does not support ACI-318 2019 Edition.
Standards AustraliaAS3600 (2001, 2009, 2018)✔️✔️
AS5100 (2017)✔️✔️
British StandardsBS8110 (1985, 1997, 2005)✔️✔️
BS5400✔️✔️AdSec API has 1990, 2006.
AdSec Desktop has BS5400 unlabelled, assume it's 1990.
BS5400 (IAN70_06)✔️✔️
Canadian Standards AssociationCSA 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 PracticeHong Kong Code of Practice (1987, 2004, 2007, 2013)✔️✔️
Hong Kong Structures Design (2002, 2013)✔️✔️
Indian StandardsIRS Bridge (1997)✔️✔️
IS456 (2000)✔️✔️
IRC112 2011✔️✔️
IRC112 2020✔️
MaterialsStandard MaterialsConcrete / 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✔️
Elastic plastic✔️
Strain-hardening✔️
User-Defined MaterialsConcrete✔️✔️
Reinforcement - Rebar (Steel)✔️✔️
Reinforcement - Tendons✔️✔️
Steel✔️✔️
FRP✔️✔️
Material Params (all)General / Name✔️N/A
General / Strength✔️✔️
General / Elastic modulus✔️✔️
General / Density✔️
General / Coefficient of thermal expansion✔️
General / Poisson's ratio✔️
Material Params (FRP)General / Bond strain limit✔️In addition to "all"
General / Environmental factor✔️
Material Params (Concr/Rebar)ULS or SLS / Strength reduction factor✔️
ULS or SLS / Stiffness reduction factor✔️
Creep coefficient✔️N/AIllustrative for chart only.
Material Params (Tendon)Label✔️In addition to "Concr/Rebar"
ULS or SLS - only Tension model (no compr.)✔️✔️
Material Params (Steel)Compression and Tension - single material model✔️✔️
ChartULS / SLS / SLS long termCan adjust creep coefficient to change SLS long-term plot
SectionsCreate sectionSection Name✔️
ComponentsMaterial type
Material grade
Profile / StandardRectangle✔️✔️
Profile type / Standard / Solid, Hollow, tapered✔️✔️
Profile type / Standard / Tapered✔️✔️
Circle✔️✔️
Hollow, Elliptical✔️✔️
Ellipse index, n✔️✔️Different top/bottom width
I-Section✔️✔️
General, tapered, cellular✔️✔️
Tee✔️✔️
Channel✔️✔️
Angle✔️✔️
Cruciform✔️✔️
Generic Z✔️✔️
Generic C✔️✔️
Rectocircular✔️
Rectoellipse✔️✔️
Secant Pile✔️✔️
Sheet Pile✔️✔️
Profile / GeometricPerimeter✔️✔️
Profile / CatalogueBritish✔️✔️AdSec API uses a profile string (text) to create a catalogue profile.
e.g. STD R 300 300
The string may be obtained from the section in AdSec Desktop.
There are no helper classes or interfaces to create them.
Europrofile✔️✔️
AISC✔️✔️
Australian✔️✔️
Chinese✔️✔️
Indian✔️✔️
Corus Advance (TATA)✔️✔️
Russian✔️✔️
Korean✔️✔️
Japanese✔️✔️
EN 10210✔️✔️
EN 10219✔️✔️
South African✔️✔️
ASTM A501✔️✔️
CISC✔️✔️
British Steel✔️✔️
ArcelorMittal✔️✔️
Profile optionsReflection: about local y or z✔️✔️AdSec API: Part of profile string text.
Rotation: by degrees✔️✔️AdSec API: Part of profile string text.
Offset: local y or z✔️✔️AdSec API: Part of profile string text.
ReinforcementReinforcement - CoverUniform✔️✔️
Variable✔️
Reinforcement - GroupLink, top, bottom, sides, left side, right side✔️✔️
Reinforcement - Individual bars✔️✔️
Reinforcement - Pre-LoadPreload (none, stress, force, strain)✔️✔️
Section diagram✔️✔️API: Export section diagram to SVG
AnalysisTasks - TableCases: Load/Deformation✔️✔️AdSec API does not have tasks. Analysis is done with reference to a section.
InputsLoad✔️✔️
Deformation✔️✔️
Outputs / ULSStatus✔️AdSec API: Can just check if utilisation > 100%
Utilisation / Load✔️✔️
Utilisation / Deformation✔️✔️
M/Mu✔️AdSec API: Can be calculated from MomentRanges
Load / Fx✔️✔️
Load / Myy✔️✔️
Load / Mzz✔️✔️
Outputs / SLSCracked✔️
Crack width (mm)✔️✔️
Stiffness / EA✔️✔️AdSec API: SecantStiffness.X
Stiffness / EIyy✔️✔️AdSec API: SecantStiffness.YY
Stiffness / EIzz✔️✔️AdSec API: SecantStiffness.ZZ
Advanced options - LoadLoad term: short, long, intermediate✔️
Enable/disable components✔️
Code specific options - IRC112Crack equation, Cnom, Cover factor, Mq/Mg ratio✔️
Advanced options - Deformation✔️
Add more tasks✔️N/A
Tasks - Case Details (Outputs)Display options (outputs)Analysis options / load term✔️
Analysis options / Components details✔️
Analysis options / Code specific options✔️
ULS / Section diagram✔️✔️AdSec API: Can save section diagram to SVG image file.
ULS / Section diagram / Show Section Diagram✔️✔️
ULS / Section diagram / Show Bar Numbers✔️
ULS / Applied load✔️✔️AdSec API: No report output but data accessible.
ULS / Applied deformation✔️✔️
ULS / Load at failure✔️✔️
ULS / Deformation under applied loads✔️✔️
Strain✔️✔️
Curvature✔️✔️
Neutral Axis✔️
ULS / Section Load under applied deformation✔️✔️
ULS / Deformation at failure✔️✔️AdSec API: Neutral axis position not accessible.
ULS / Stress/strain at key points✔️N/A
ULS / Stress/strain at key points / section profile stress/strain✔️N/A
ULS / Stress/strain at key points / reinforcement stress/strain✔️N/A
SLS / Section diagram✔️✔️AdSec API: Can save section diagram to SVG image file.
- Uncracked✔️Design code specific
- Cracked✔️Design code specific
- Interpolated✔️Design code specific
SLS / Section diagram / Show Section Diagram✔️
SLS / Section diagram / Show Bar Numbers✔️
SLS / Applied load✔️N/A
SLS / Applied deformation✔️N/A
SLS / Deformation under applied loads✔️✔️
- Uncracked✔️
- Cracked✔️
SLS / Interpolated deformation for applied loads✔️✔️Design code specific
SLS / Section load under applied deformation✔️✔️
SLS / Stiffness✔️✔️
SLS / Stress/strain at key points✔️✔️
SLS / Stress/strain at key points / section profile stress/strainAdSec Desktop: Uncracked, Cracked
AdSec API: Interpolated
- Uncracked✔️
- Cracked✔️
- Interpolated✔️
SLS / Stress/strain at key points / reinforcement stress/strain✔️
SLS / Crack results at SLS loads✔️✔️Design code specific. AdSec Desktop heading = "Crack widths at SLS loads"
- Face✔️
- Bar✔️
- Position✔️✔️
- Cover✔️
- h✔️
- x✔️
- a_cr✔️
- εm✔️
- Crack width (w_k)✔️✔️
Advanced OptionsLoad Term (short, long)✔️N/A
Enabled Components✔️N/A
Component Prestrain✔️N/A
Tasks - Interaction Diagram3D viewFull, slice, mesh✔️✔️AdSec API: Onion data accessible.
2D chartULS capacity, ULS No compression, ULS No Tension, ULS Balanced Yield, Analysis cases✔️
Diagram type / NM✔️✔️
Diagram type / NM - adjust moment angle (Slice)✔️✔️
Diagram type / MM✔️✔️
Diagram type / MM - adjust axial force (Slice)✔️✔️
Export 2D plots / Copy data✔️✔️
Tasks - More ChartsMoment-Stiffness ChartAdjust moment angle✔️AdSec API: No chart output, but data is accessible.
Adjust axial force✔️
Export / Copy points✔️
Moment-Curvature ChartAdjust moment angle✔️
Adjust axial force✔️
Export / Copy points✔️
Tasks - Export ResultsCase DetailsFormat: report / CSV✔️AdSec API: No report output but data accessible.
Choose from same list of "Display options (outputs)" above✔️
Exports to view that can be printed✔️
ChartsInteraction diagram✔️AdSec API: No chart output, but data is accessible.
Moment-curvature✔️
Moment-stiffness✔️
Exports to view that can be printed✔️