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 Member End Forces (Global and Local) for specific Member Group 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 GetMemberEndForces:
[Input] Member: Member number ID.
[Input] nEnd: Member End (0 for starting and 1 for ending).
[Input] LCase: Load Case reference ID.
[Output] eForce: Force of Member End in LOCAL coordinates in terms of FX, FY, FZ, MX, MY and MZ (in order).
[Input] LoctoGlb: Local Or Global direction.
Sample VBA Syntax:
communities.bentley.com/.../Member-End-Force.xlsm
Python script:
communities.bentley.com/.../MemberEndForce.py
STAAD file:
communities.bentley.com/.../US_2D00_1-Plane-Frame-with-Steel-Design.STD