I'm using a vba macro to extract support reaction results and have two problems.
1) When using variables in the GetSupportReactions, nothing is extracted even though all variables are dimensionalized correctly.
2) When I use the following code (and actual number instead of variable), the program only extracts results in FY direction even though the support reactions (for most load cases) have results in FX, FY, and FZ direction. I am using the following code:
Dim objOpenSTAAD As Object
Dim ReactionArray(6) As Double
Dim Node Combo, NumLoadCases As Long
NumLoadCases = 4 'Actually extracted from excel sheet...not an issue
Node = 1
For Combo = 1 To NumLoadCases
objOpenSTAAD.Output.GetSupportReactions Node, Combo, ReactionArray
When checking results, the FY support reaction is also stored in ReactionArray(1) location
Any help is greatly appreciated