OpenSTAAD V8i

View.SetReactionAnnotationMode

Sets the node displacement annotation mode.  This function works only in the post-processing mode of STAAD.Pro.

VB Syntax

View.SetReactionAnnotationMode annotationMode, bRefresh

Where:

annotationMode

Integer variable controlling the annotation type.  It may be one of the following values:

1 = X Reaction

2 = Y Reaction

3 = Z Reaction

4 = X Rotation

5 = Y Rotation

6 = Z Rotation

7 = Reaction Value Only

bRefresh

Boolean variable (True or False). If True, STAAD.Pro viewing windows refresh with the current annotation mode.

VB Example

Dim bRefresh As Boolean
Dim dLabel As Long
Dim bRet As Boolean
'Get the application object --
'Annotate the view with X displacement labels
'Make sure that Staad.Pro is in Postprocessing mode
bRet = staad.View.SetInterfaceMode (1)
If bRet Then
  bRefresh = True
  dLabel = 1 ' X Reaction
  staad.View.SetReactionAnotationMode(dLabel, bRefresh)
End If