When I try to use the GetBeamsConnectedAtNode function, I either get FALSE or an error. Assuming there are 3 connected member:
Dim lngConnectedMembers(0 To 2) As Long
Dim objOpenStaad As Object
Set objOpenStaad = GetObject(, "StaadPro.OpenSTAAD")
RetVal = objOpenStaad.Geometry.GetBeamsConnectedAtNode(5,lngConnectedMembers)
I realized my problem was that I was using a variable instead of the number "5" as shown above. My variable was not of the Integer Type, so the ReturnValue was false. Now that I use CInt(), the function works.
Answer Verified By: Joseph Barron