Extending product function with VBA > The System Architect object model > Object model classes > Diagram class
  
Diagram class
This is an instance of a diagram contained in the encyclopedia.
To return the currently active diagram as an object, use:
Dim oApplication As SA2001.Application
Dim oDiagram As Diagram
Set oApplication = New Application
Set oDiagram = oApplication.oEncyclopedia.GetCurrentDiagram
This graphic is described in the surrounding text.
See also
Diagram class: Attributes
Diagram class: Methods
Diagram fields
Diagram metrics
Object model classes