OpenSTAAD V8i

View.SetDiagramMode

Sets the label on the structure diagram on or off.

VB Syntax

View.SetDiagramMode diagramID, ShowFlag, refreshFlag

Where:

diagramID

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

0: Load

1: Displacement

2: MY

3: MZ

4: FY

5: FZ

6: AX

7: TR

8: Structure

9: Full Section

10: Section Outline

11: Stress

12: Shrink

13: Perspective

14: Hide Structure

15: Fill Plates & Solids

16: Hide Plates & Solids

18: Hide Piping

19: Sort Geometry

20: Sort Nodes

21: Plate Stress

22: Solid Stress

23: Mode Shape

24: Stress Animation

25: Plate reinforcement

26: Deck Influence Diagram*

27: Deck Carriageways*

28: Deck Triangulation*

29: Deck Loads*

30: Deck Vehicles*

*Requires the STAAD.beava component

ShowFlag

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

refreshFlag

Boolean variable to .

VB Example

'Get the application object --
'Turn on the MZ diagram 
objOpenSTAAD.View.SetDiagramMode 1, True