Extending product function with VBA > The System Architect object model > Object model classes > Symbol class > Symbol class: Methods > ConnectTo
  
ConnectTo
Used to connect a symbol at the "from" end of the line.
Syntax
Symbol Object.ConnectTo Line
Parameters
Symbol Object
Use: Required
Data type: Object
Any instantiated Symbol class to which the line symbol will be connected.
Line
Use: Required
Data type: Symbol
Any instantiated line symbol
Example
Dim oFirstsymbol As Symbol, oSecondsymbol As Symbol, oLine As Symbol
Set oFirstsymbol = oDiagram.CreateSymbol("Customer", ETPROCESS)
Set oSecondsymbol = oDiagram.CreateSymbol("Order", ETPROCESS)
Set oLine = oDiagram.CreateSymbol("places", ETDATAFLOW)
Call oFirstsymbol.ConnectTo oLine
Call oSecondsymbol.ConnectFrom oLine
See also
Symbol class: Methods