Extending product function with VBA : Automating System Architect
  
Automating System Architect
System Architect is VBA-enabled allowing the user to control the System Architect environment programmatically, and to control other applications using OLE automation.
Microsoft VBA and its development environment are installed with System Architect. The programming environment, debugging environment, language and help system are the same as found in other Microsoft VBA-enabled applications, including Microsoft Office products.
Using automation, you can integrate other applications with System Architect in the two ways. You can use System Architect:
as an automation controller, and call an OLE automation object from within a System Architect script
as an automation server, and call its OLE automation object from within another OLE-compliant application.
Macros within System Architect can be used to:
enhance the functionality of System Architect, automating the presentation and rules checking of diagrams
create diagrams, symbols and definitions from information contained in other applications.
Capture events that take place in System Architect and store them in a file or database.
Object browser
The Object Browser is a very useful feature of the VBA Editor, allowing the interrogation of available Object Libraries, Type Libraries and Dynamic Link Libraries.
For more information, see Using Microsoft VBA’s Object Browser.
See also
Automation of macro projects with VBE
Introduction to extending SA with VBA