Extending product function with VBA : The System Architect object model : Object model classes : Diagram class : Diagram class: Methods : GetAllSymbols
  
GetAllSymbols
This method returns all symbols contained in the specified diagram object as a SAObjects collection. The SAObjects collection will not be fully populated until the Complete flag for the collection is true. GetAllSymbols should be used in conjunction with either ReadAll or IsMoreThan methods.
Rules
An SAObjects variable must be dimensioned and set as a collection of symbols. See example below.
Example
Dim oDiagram as Diagram, oCollectionofSymbols As SAObjects
Set oCollectionofSymbols = oDiagram.GetAllSymbolsCall oCollectionofSymbols.ReadAll
See also
Diagram class: Methods