OpenSTAAD V8i

Output.GetMinMaxBendingMoments

Returns maximum and minimum bending moments and their locations for specified member number, load case, and bending direction.

VB Syntax

Output.GetMinMaxBendingMoments MemberNo, strDir, LoadCase, dMin, dMinPos, dMax, dMaxPos

Where:

MemberNo

Long variable contains the member number.

strDir

String variable specifying the bending direction.

MY = return moments about the local Y axis of the member

MZ = return moments about the local Z axis of the member

LoadCase

Long variable contains the load case number.

dMin

Double variable which returns the minimum bending moment.

dMinPos

Double variable which returns the location along the length of the member where the minimum bending moment is located.

dMax

Double variable which returns the maximum bending moment.

dMaxPos

Double variable which returns the location along the length of the member where the maximum bending moment is located.

VB Example

'Get the application object --
'Get Max and Min Member Bending Moments
objOpenSTAAD.Output.GetMinMaxBendingMoment (lMemberNo, sDir, lLoadCase, dMin, dMinPos, dMax, dMaxPos)