OpenSTAAD V8i

Geometry.GetBeamList

This function returns the member list of the current STAAD file.

VB Syntax

Geometry.GetBeamList BeamNumberArray 

Where:

BeamNumberArray

Long Array variable in which the beam numbers are returned.

VB Example

Dim objOpenSTAAD As Object
Dim lBeamCnt as Long
Dim BeamNumberArray() As Long
'Get the application object
                
Set objOpenSTAAD = GetObject( , "StaadPro.OpenSTAAD")
'Get Beam Numbers
                
lBeamCnt = objOpenSTAAD.Geometry.GetMemberCount
ReDim BeamNumberArray(0 to (lBeamCnt-1)) As Long
'Get Beam list
                
objOpenSTAAD.Geometry.GetBeamList BeamNumberArray

Reference Materials

Geometry.GetMemberCount