Analyze
This document provides details on how to perform analysis using OpenStaad Python.
Overview
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.
Example Usage
from openstaad import Root
# Initialize the Root class
root = Root()
# Run the analysis
root.Analyze()
print("Analysis completed successfully.")
Key Points
- 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.
For more details, refer to the Official OpenStaad Documentation.