Current Revision posted to Structural Analysis and Design - Wiki by Suro on 3/27/2014 11:23:01 AM
Applies To | |||
Product(s): | STAAD.Pro | ||
Version(s): | All | ||
Environment: | N/A | ||
Area: | STAAD.Pro TechNotes | ||
Subarea: | OpenSTAAD | ||
Original Author: | Surojit Ghosh | ||
The following OpenSTAAD function retrieves the member specification of a specified member.
Property.GetMemberSpecCode varMembNo, SpecCode
Where:
varMembNo
A long variable which stores the member number.
SpecCode
An integer variable that holds the member specification. The spcificatiion number should represnt the following member spcification.
0 = Member Truss
1 = Member Tension
2 = Member Compression
3 = Member Cable
4 = Member Joist
-1 = No member specification assigned
VB Example
Dim member As Long
Dim spec as Integer
objopenstaad.Property.GetMemberSpecCode member, spec