Extending product function with VBA > The System Architect object model > Object model classes > Diagram class > Diagram class: Methods > GetRelatedObjects
  
GetRelatedObjects
This method returns an SAObjects collection of related objects to the current diagram object.
Syntax
Diagram Object.GetRelatedObjects(RelType)
Parameters
Diagram Object
Use: Required
Data type: Object
Any instantiated Diagram class
RelType
Use: Required
Data type: RELATETYPE
See also
Diagram class: Methods