Extending product function with VBA : Automation and System Architect : Planning an automated solution with System Architect : Control behavior
  
Control behavior
System Architect responds to certain events occurring during operation. These events can trigger code that may be used to automate certain tasks.
The events supported by System Architect include Start up and Shutdown of the product, Encyclopedia Open and Encyclopedia Close, Diagram Open, Save and Close, Audit ID change and a number of symbol events. The symbol events include placing on a diagram, naming, connecting and disconnecting (with a line symbol) and deleting.
This functionality allows real-time operation of System Architect to be modified using Microsoft VBA.
See also
Planning an automated solution with System Architect