OpenSTAAD V8i

View.SetLabel

Sets the label on the structure diagram on or off.

VB Syntax

View.SetLabel LabelID, ShowFlag

Where:

LabelID

Integer variable identifying the label type. It may be one of the following values:

0: Node number label

1: Member number label

2: Member property reference label

3: Material property reference label

4: Support label

5: Member release label

6: Member orientation label

7: Member section label

8: Load value label

9: Axes label

10: Node position label

11: Member specification label

12: Member ends

13: Plate element number label

14: Plate element orientation label

15: Solid element number label

16: Dimension label

17: Floor load label

18: Floor load distribution diagram label

19: Wind load label

20: Wind load influence area diagram label

21: Diagram Info

ShowFlag

Boolean variable to set label mode on (True) or off (False).

VB Example

'Get the application object --
'Label the member numbers
objOpenSTAAD.View.SetLabel(1,True)