Extending product function with VBA > The System Architect object model > Object model classes > Symbol class > Symbol class: Methods > GetRelatedObjects
  
GetRelatedObjects
This method returns an SAObjects collection of related objects to the current symbol object.
Syntax
Symbol Object.GetRelatedObjects(RelType)
Parameters
Symbol Object
Use: Required
Data type: Object
Any instantiated Symbol class
RelType
Use: Required
Data type: RELATETYPE
Example
Dim oCollectionOfRelatedItems As SAObjects
Set oCollectionOfRelatedItems = oSymbol.GetRelatedObjects(RELCONNEND)
oCollectionOfRelatedItems.ReadAll
See also
Symbol class: Methods