Back to docs
This document provides details on how to perform analysis using OpenStaad Python.
Note: Ensure that the Staad.PRO file is open and valid before running the analysis. The
Analyzefunction does not return results directly; you need to use other functions to extract analysis results.
The Analyze function in OpenStaad Python allows users to run structural analysis on their Staad.PRO models programmatically. This is particularly useful for automating workflows and integrating analysis into larger Python-based applications.
from openstaad import Root
# Initialize the Root class
root = Root()
# Run the analysis
root.Analyze()
print("Analysis completed successfully.")Analyze function does not return results directly; you need to use other functions to extract analysis results.For more details, refer to the Official OpenStaad Documentation.
© 2024 OpenStaad
Built with Reflex