Skip to content

The tutorial on how to integrate STAAD.Pro into an application

Notifications You must be signed in to change notification settings

viktor-platform/sample-staad-integration

Repository files navigation

STAAD Pro Sample App

The following repository demonstrates how to connect a VIKTOR web app with STAAD Pro using the VIKTOR worker. As an example, the demo app creates a steel structure in STAAD Pro, generates a load case with self-weight, calculates the internal loads at the ends of the frame elements, and retrieves the results.

The repository uses the OpenSTAAD Application API, managed by comtypes, to launch, close, and create the model, as well as assign the relevant structural inputs. It also utilizes the Python library openstaad for retrieving the results.

Step 1

Step 2

Requirements

The following are the requirements:

  1. STAAD Pro Executable: STAAD Pro must be installed on your machine or server.

    • The machine hosting the STAAD Pro executable and valid license requires a Python environment with the following dependencies installed:
    comtypes
    pywin32
    openstaad

Worker Configuration

You need to install a VIKTOR-PYTHON worker and execute a viktor.external.python.PythonAnalysis. You can check the documentation to set up the integration.

About

The tutorial on how to integrate STAAD.Pro into an application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages