OpenStaad for Python

Intuitive Python automation for STAAD.Pro. Open-source and unofficial.

downloadspypi versiongithub stars

Works the way Python should

No COM boilerplate. No dispatch calls. Just import the module you need and start automating — OpenStaad wraps the entire OpenSTAAD API into clean, discoverable Python classes.

  • Auto-discovers the running STAAD.Pro instance
  • Returns native Python types (lists, ints, floats)
  • Works in scripts, Jupyter notebooks, and Streamlit apps
  • Compatible with any Python 3.10+ environment
$pip install openstaad
from openstaad import Geometry, Root
root = Root()
geo = Geometry()
print(root.GetSTAADFile())
print(geo.GetNodeCount())
print(geo.GetBeamList())

Modules

87+ functions across 8 modules, fully documented.

Browse all →

Quick Start

From zero to running your first script in 3 minutes.

1

Prerequisites

Python

3.10+

STAAD.Pro

any version

OS

Windows only

2

Install

pip install openstaad
3

Your first script

STAAD.Pro must be running with a model open before executing the script.
from openstaad import Geometry

geo = Geometry()
print(f"Nodes: {geo.GetNodeCount()}")
print(f"Beams: {geo.GetBeamList()}")