OpenSTAAD V8i
Annotates the requested values for beam results in the appropriate view. This function works only in the post-processing mode of STAAD.Pro.
Where:
Integer variable controlling the annotation type. It may be one of the following values:
0: Axial Diagram
1: Torsion Diagram
2: Moment Diagram
3: Shear Diagram
4: Stress Diagram
5: Displacement Diagram
Integer variable controlling what values are to be shown for the annotationType. It may be one of the following values:
1: End Values
2: Max Absolute Values
4: Mid-span Values
Boolean variable (True or False). If True, STAAD.Pro viewing windows refresh with the current annotation mode.
Dim bRefresh As Boolean
Dim dLabel As Long
Dim dValueLoc As Long
Dim bRet As Boolean
'Get the application object --
'Annotate the view with values of Moments at the end of beams for the active beam moment diagrams
'Make sure that Staad.Pro is in Postprocessing mode
bRet = staad.View.SetInterfaceMode(spNATypeDX)>
If bRet Then
bRefresh = True
dLabel = 2 ' Moment diagram
dValueLoc = 1 ' End values
staad.View.SetBeamAnotationMode(dLabel, dValueLoc , bRefresh)
End If