Extending product function with VBA > The System Architect object model > Object model classes > Diagram class > Diagram class: Methods > GetSymbolById
  
GetSymbolById
All diagrams stored in System Architect are uniquely identified internally by the use of a data dictionary identifier. This method returns a symbol as an object from its identity.
Syntax
Diagram Object.GetSymbolById(Id)
Parameters
Diagram Object
Use: Required
Data type: Object
Any instantiated Diagram class
Id
Use: Required
Data type: Long
All symbols stored in System Architect are uniquely identified internally by the use of a data dictionary identifier.
Example
Dim oSymbol As Symbol
Set oSymbol = oDiagram.GetSymbolById(12)
See also
Diagram class: Methods