Applies To | |||
Product(s): | STAAD.Pro | ||
Version(s): | All | ||
Environment: | N/A | ||
Area: | OpenSTAAD | ||
Subarea: | Analysis Result, Output | ||
Original Author: | Bentley Technical Support Group, Shreyanka Bhattacharjee | ||
Problem Description:
How to extract only critical steel design ratio for steel member using OpenSTAAD (VBA and python)
Solution:
Parameter for function GetGroupEntityCount:
[Input] GroupName: Group string name
[Return Value] GroupEntityCount: The total number of entities in specified group
Parameter for function GetGroupEntities:
[Input] GroupName: Group string name
[Output] EntityList: Entity number ID(s)
Parameter for function GetMemberSteelDesignRatio :
[Input] Member: Beam number ID
[Output] CriticalRatio: The critical steel design ratio
Sample VBA Syntax:
communities.bentley.com/.../Extract-Critical-Design-Ratio.xlsm
Python script:
communities.bentley.com/.../GetMemberSteelDesignRatio.py
STAAD file:
communities.bentley.com/.../US_2D00_1-Plane-Frame-with-Steel-Design.STD